US 11080410
Partial policy evaluation
Granted 2021-08-03 · Filed 2019-03-05 · Application 16/293,503 · Utility · Kind B1
- Assignee as printed
- STYRA, INC., Redwood City, CA (US)
- Inventors
- Torin Sandall, San Francisco, CA (US); Timothy L. Hinrichs, Los Altos, CA (US); Teemu Koponen, San Francisco, CA (US)
- CPC, current
- G06F21/604; G06F21/629; G06F21/53
Abstract
Some embodiments provide a method for evaluating a policy for authorizing an API (Application Programming Interface) call to an application. Based on a first set of parameters available before receiving the API call, the method evaluates only a portion of the policy to produce a partially evaluated policy. The method stores the partially evaluated policy in a cache. The method then receives an API call to authorize, and determines whether the API call should be authorized by fully evaluating the policy, using the partially evaluated policy retrieved from the cache first storage, and a second set of parameters associated with the API call. The method responds to the API call with a policy decision based on the fully evaluated authorization policy.
The claims as the USPTO long-text file prints them (text data version 20261117.3), split by PatentRef's claim parser (structure version 2): each claim's opening words, then one row for each element with its character offsets in the claim text, and the dependent claims under the claim they refer to. The split describes the text; it is not a reading of it. Each claim and each element has a link of its own. How the links are made.
Claim 1
Independent claim.
1. A method for evaluating a policy for authorizing an API (Application Programming Interface) call to an application, the method comprising:
- Claim 1, element e1based on a first set of parameters available before receiving the API call, evaluating only a first portion of the policy to produce a partially evaluated policy; 142–303
- Claim 1, element e2storing the partially evaluated policy in a cache storage; 305–362
- Claim 1, element e3receiving an API call to authorize; 364–398
- Claim 1, element e4determining whether the API call should be authorized by fully evaluating the policy using (1) the partially evaluated policy retrieved from the cache storage and (2) a second set of parameters associated with the API call, 400–622
- Claim 1, element e5wherein the second set of parameters is used to evaluate a second portion of the policy not previously evaluated to produce the partially evaluated policy; and 624–778
- Claim 1, element e6responding to the API call with a policy decision based on the fully evaluated authorization policy.784–883
11 dependent claims: 2 to 12 (2, 3, 4, 8, 10, 11, 12 on claim 1; 5 on 4; 6, 7 on 5; 9 on 8)
Claim 2
Depends on claim 1.
2. The method of claim 1 , wherein
- Claim 2, element e1the first set of parameters is associated with the API call.35–94
Claim 3
Depends on claim 1.
3. The method of claim 1 , wherein
- Claim 3, element e1the second set of parameters includes at least one parameter received with the API call.35–122
Claim 4
Depends on claim 1.
4. The method of claim 1 , wherein
- Claim 4, element e1the second set of parameters includes at least one parameter identified after receiving the API call.35–135
Claim 5
Depends on claim 4.
5. The method of claim 4 , wherein
- Claim 5, element e1the cache storage comprises a first storage and a second storage, 35–99
- Claim 5, element e2wherein the second set of parameters includes at least one parameter retrieved from the second storage after receiving the API call.101–232
Claim 6
Depends on claim 5.
6. The method of claim 5 , wherein
- Claim 6, element e1the at least one parameter is retrieved from the second storage based on a parameter received with the API call.35–146
Claim 7
Depends on claim 5.
7. The method of claim 5 , wherein
- Claim 7, element e1the at least one parameter is retrieved with the partially evaluated policy from the second storage.35–134
Claim 8
Depends on claim 1.
8. The method of claim 1 , wherein
- Claim 8, element e1the API call is a first API call, 35–67
- Claim 8, element e2wherein the policy decision is a first policy decision, the method further comprising: 69–154
- Claim 8, element e3receiving a second API call to authorize; 156–196
- Claim 8, element e4determining whether the second API call should be authorized by fully evaluating the policy using (1) the partially evaluated policy retrieved from the cache storage and (2) a third set of parameters associated with the second API call; and 198–433
- Claim 8, element e5responding to the second API call with a second policy decision.439–502
Claim 9
Depends on claim 8.
9. The method of claim 8 , wherein
- Claim 9, element e1the second policy decision is different from the first policy decision.35–105
Claim 10
Depends on claim 1.
10. The method of claim 1 , wherein
- Claim 10, element e1the API call is a first API call, 36–68
- Claim 10, element e2wherein the policy decision is a first policy decision, 70–124
- Claim 10, element e3wherein the partially evaluated policy is a first partially evaluated policy, the method further comprising: 126–233
- Claim 10, element e4receiving a second API call to authorize; 235–275
- Claim 10, element e5based on a third set of parameters received with the API call, evaluating only a portion of the policy to produce a second partially evaluated policy; and 277–426
- Claim 10, element e6storing the second partially evaluated policy in a cache storage, 432–496
- Claim 10, element e7wherein storing the second partially evaluated policy in the cache storage comprises invalidating the first partially evaluated policy.498–632
Claim 11
Depends on claim 1.
11. The method of claim 1 , wherein
- Claim 11, element e1the policy is a role-based access control (RBAC) policy.36–91
Claim 12
Depends on claim 1.
12. The method of claim 1 , wherein
- Claim 12, element e1the first portion of the policy comprises computationally expensive operations.36–114
Claim 13
Independent claim.
13. A non-transitory machine readable medium storing a program executing on at least one hardware processing unit of a computing device, the program for evaluating a policy for authorizing an API (Application Programming Interface) call to an application, the program comprising
- Claim 13, element e1sets of instructions for: 279–303
- Claim 13, element e2based on a first set of parameters available before receiving the API call, evaluating only a first portion of the policy to produce a partially evaluated policy; 305–466
- Claim 13, element e3storing the partially evaluated policy in a cache storage; 468–525
- Claim 13, element e4receiving an API call to authorize; 527–561
- Claim 13, element e5determining whether the API call should be authorized by fully evaluating the policy using (1) the partially evaluated policy retrieved from the cache storage and (2) a second set of parameters associated with the API call, 563–785
- Claim 13, element e6wherein the second set of parameters is used to evaluate a second portion of the policy not previously evaluated to produce the partially evaluated policy; and 787–941
- Claim 13, element e7responding to the API call with a policy decision based on the fully evaluated authorization policy.947–1046
7 dependent claims: 14 to 20 (14, 15, 18, 19, 20 on claim 13; 16, 17 on 15)
Claim 14
Depends on claim 13.
14. The non-transitory machine readable medium of claim 13 , wherein
- Claim 14, element e1the first set of parameters is associated with the API call, 69–128
- Claim 14, element e2wherein the second set of parameters includes at least one parameter received with the API call.130–225
Claim 15
Depends on claim 13.
15. The non-transitory machine readable medium of claim 13 , wherein
- Claim 15, element e1the cache storage comprises a first storage and a second storage, 69–133
- Claim 15, element e2wherein the second set of parameters includes at least one parameter retrieved from the second storage after receiving the API call.135–266
Claim 16
Depends on claim 15.
16. The non-transitory machine readable medium of claim 15 , wherein
- Claim 16, element e1the at least one parameter is retrieved from the second storage based on a parameter received with the API call.69–180
Claim 17
Depends on claim 15.
17. The non-transitory machine readable medium of claim 15 , wherein
- Claim 17, element e1the at least one parameter is retrieved with the partially evaluated policy from the second storage.69–168
Claim 18
Depends on claim 13.
18. The non-transitory machine readable medium of claim 13 , wherein
- Claim 18, element e1the API call is a first API call, 69–101
- Claim 18, element e2wherein the policy decision is a first policy decision, the program further comprising sets of instructions for: 103–214
- Claim 18, element e3receiving a second API call to authorize; 216–256
- Claim 18, element e4determining whether the second API call should be authorized by fully evaluating the policy using (1) the partially evaluated policy retrieved from the cache storage and (2) a third set of parameters associated with the second API call; and 258–493
- Claim 18, element e5responding to the second API call with a second policy decision, 499–562
- Claim 18, element e6wherein the second policy decision is different from the first policy decision.564–642
Claim 19
Depends on claim 13.
19. The non-transitory machine readable medium of claim 13 , wherein
- Claim 19, element e1the API call is a first API call, 69–101
- Claim 19, element e2wherein the policy decision is a first policy decision, 103–157
- Claim 19, element e3wherein the partially evaluated policy is a first partially evaluated policy, the program further comprising sets of instructions for: 159–292
- Claim 19, element e4receiving a second API call to authorize; 294–334
- Claim 19, element e5based on a third set of parameters received with the API call, evaluating only a portion of the policy to produce a second partially evaluated policy; and 336–485
- Claim 19, element e6storing the second partially evaluated policy in a cache storage and invalidating the first partially evaluated policy.491–609
Claim 20
Depends on claim 13.
20. The non-transitory machine readable medium of claim 13 , wherein
- Claim 20, element e1the first portion of the policy comprises computationally expensive operations.69–147
1. A method for evaluating a policy for authorizing an API (Application Programming Interface) call to an application, the method comprising: based on a first set of parameters available before receiving the API call, evaluating only a first portion of the policy to produce a partially evaluated policy; storing the partially evaluated policy in a cache storage; receiving an API call to authorize; determining whether the API call should be authorized by fully evaluating the policy using (1) the partially evaluated policy retrieved from the cache storage and (2) a second set of parameters associated with the API call, wherein the second set of parameters is used to evaluate a second portion of the policy not previously evaluated to produce the partially evaluated policy; and responding to the API call with a policy decision based on the fully evaluated authorization policy.
2. The method of claim 1 , wherein the first set of parameters is associated with the API call.
3. The method of claim 1 , wherein the second set of parameters includes at least one parameter received with the API call.
4. The method of claim 1 , wherein the second set of parameters includes at least one parameter identified after receiving the API call.
5. The method of claim 4 , wherein the cache storage comprises a first storage and a second storage, wherein the second set of parameters includes at least one parameter retrieved from the second storage after receiving the API call.
6. The method of claim 5 , wherein the at least one parameter is retrieved from the second storage based on a parameter received with the API call.
7. The method of claim 5 , wherein the at least one parameter is retrieved with the partially evaluated policy from the second storage.
8. The method of claim 1 , wherein the API call is a first API call, wherein the policy decision is a first policy decision, the method further comprising: receiving a second API call to authorize; determining whether the second API call should be authorized by fully evaluating the policy using (1) the partially evaluated policy retrieved from the cache storage and (2) a third set of parameters associated with the second API call; and responding to the second API call with a second policy decision.
9. The method of claim 8 , wherein the second policy decision is different from the first policy decision.
10. The method of claim 1 , wherein the API call is a first API call, wherein the policy decision is a first policy decision, wherein the partially evaluated policy is a first partially evaluated policy, the method further comprising: receiving a second API call to authorize; based on a third set of parameters received with the API call, evaluating only a portion of the policy to produce a second partially evaluated policy; and storing the second partially evaluated policy in a cache storage, wherein storing the second partially evaluated policy in the cache storage comprises invalidating the first partially evaluated policy.
11. The method of claim 1 , wherein the policy is a role-based access control (RBAC) policy.
12. The method of claim 1 , wherein the first portion of the policy comprises computationally expensive operations.
13. A non-transitory machine readable medium storing a program executing on at least one hardware processing unit of a computing device, the program for evaluating a policy for authorizing an API (Application Programming Interface) call to an application, the program comprising sets of instructions for: based on a first set of parameters available before receiving the API call, evaluating only a first portion of the policy to produce a partially evaluated policy; storing the partially evaluated policy in a cache storage; receiving an API call to authorize; determining whether the API call should be authorized by fully evaluating the policy using (1) the partially evaluated policy retrieved from the cache storage and (2) a second set of parameters associated with the API call, wherein the second set of parameters is used to evaluate a second portion of the policy not previously evaluated to produce the partially evaluated policy; and responding to the API call with a policy decision based on the fully evaluated authorization policy.
14. The non-transitory machine readable medium of claim 13 , wherein the first set of parameters is associated with the API call, wherein the second set of parameters includes at least one parameter received with the API call.
15. The non-transitory machine readable medium of claim 13 , wherein the cache storage comprises a first storage and a second storage, wherein the second set of parameters includes at least one parameter retrieved from the second storage after receiving the API call.
16. The non-transitory machine readable medium of claim 15 , wherein the at least one parameter is retrieved from the second storage based on a parameter received with the API call.
17. The non-transitory machine readable medium of claim 15 , wherein the at least one parameter is retrieved with the partially evaluated policy from the second storage.
18. The non-transitory machine readable medium of claim 13 , wherein the API call is a first API call, wherein the policy decision is a first policy decision, the program further comprising sets of instructions for: receiving a second API call to authorize; determining whether the second API call should be authorized by fully evaluating the policy using (1) the partially evaluated policy retrieved from the cache storage and (2) a third set of parameters associated with the second API call; and responding to the second API call with a second policy decision, wherein the second policy decision is different from the first policy decision.
19. The non-transitory machine readable medium of claim 13 , wherein the API call is a first API call, wherein the policy decision is a first policy decision, wherein the partially evaluated policy is a first partially evaluated policy, the program further comprising sets of instructions for: receiving a second API call to authorize; based on a third set of parameters received with the API call, evaluating only a portion of the policy to produce a second partially evaluated policy; and storing the second partially evaluated policy in a cache storage and invalidating the first partially evaluated policy.
20. The non-transitory machine readable medium of claim 13 , wherein the first portion of the policy comprises computationally expensive operations.
The text of each claim as printed, for pasting a claim word for word. The links in the tree view name the same claims and elements.
Status
active
As of 2026-11-17, the USPTO record for US 11080410 shows no unresolved maintenance-fee lapse, and the term end computed from the dates in that record is 2039-08-07 (20 years from filing, plus 155 days of patent term adjustment), a date not yet passed (data version 20261117.2).
- Basis
- term_20y · pta_days:155 (20 years from filing, plus 155 days of patent term adjustment)
- Term end
- 2039-08-07 Computed from the dates in the USPTO record
- Fee lapse
- none on record
- Reinstatement
- none on record; reinstatement_possible: false, not lapsed
- As of
- 2026-11-17
- Data version
- 20261117.2
A fact about the record with its basis and its as-of date, not legal advice.
Citations
References cited on the grant: 17 US patent documents · Cited by: 48 US patents in this data · Lists through the API: /api/v1/patent/us_patent_citation/11080410/ (needs a free key, as the links under Get this as data)
Family outside the US
Google Patents Public Datasets lists no publication outside the US in this patent's family (read 2026-10-15).
This patent's family on USPTO Global Dossier
Family data from Google Patents Public Datasets, used under CC BY 4.0.
Record JSON
{
"patent_id": "11080410",
"status": "active",
"basis": [
"term_20y",
"pta_days:155"
],
"reinstatement_possible": false,
"reinstatement_basis": "not lapsed",
"expiry_date_estimated": "2039-08-07",
"lapse_date": null,
"reinstated_date": null,
"as_of": "2026-11-17",
"data_version": "20261117.2",
"catalog_data_version": "20261117.2",
"permalink": "https://patentref.io/p/11080410?v=20261117.2",
"next_steps": [
{
"kind": "record",
"url": "https://patentref.io/p/11080410?v=20261117.2",
"audience": "human"
},
{
"kind": "patent",
"url": "https://patentref.io/api/v1/patent/11080410/",
"audience": "agent"
},
{
"kind": "fee_events",
"tool": "uspto_patent_center",
"url": "https://patentcenter.uspto.gov/applications?patentNumber=11080410",
"audience": "agent"
}
]
}
Get this as data
- Full record
/api/v1/patent/11080410/ - Status record
/api/v1/lapse/status/11080410/ - Claim tree
/api/v1/structure/claims/11080410/ - Brief
/api/v1/structure/brief/11080410/
These four links need a free key (1,000 requests a month). Opened in a browser, which sends no key, they answer 403. Get a free key on the sign-up page, then send it in the X-Api-Key header. To see the shape of an answer without a key, open Try it.