US 10592302
Method and apparatus for specifying API authorization policies and parameters
Granted 2020-03-17 · Filed 2018-07-31 · Application 16/050,130 · Utility · Kind B1
- Assignee as printed
- STYRA, INC., Redwood City, CA (US)
- Inventors
- Timothy L. Hinrichs, Los Altos, CA (US); Teemu Koponen, San Francisco, CA (US); Andrew Curtis, San Mateo, CA (US); Torin Sandall, San Francisco, CA (US); Octavian Florescu, Kirkland, WA (US)
- CPC, current
- G06F9/54; G06F9/45533; G06F9/45558; G06F9/546; G06F9/547; G06F16/122; G06F16/185; G06F21/30; G06F21/604; G06F21/629; H04L63/10; H04L63/105; H04L63/20; G06F2009/45587; G06F2209/547; H04L63/08
Abstract
Some embodiments of the invention provide a system for defining, distributing and enforcing policies for authorizing API (Application Programming Interface) calls to applications executing on one or more sets of associated machines (e.g., virtual machines, containers, computers, etc.) in one or more datacenters. This system has a set of one or more servers that acts as a logically centralized resource for defining and storing policies and parameters for evaluating these policies. The server set in some embodiments also enforces these API-authorizing policies. Conjunctively, or alternatively, the server set in some embodiments distributes the defined policies and parameters to policy-enforcing local agents that execute near the applications that process the API calls. From an associated application, a local agent receives API-authorization requests to determine whether API calls received by the application are authorized. In response to such a request, the local agent uses one or more parameters associated with the API call to identify a policy stored in its local policy storage to evaluate whether the API call should be authorized. To evaluate this policy, the agent might also retrieve one or more parameters from the local policy storage.
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 defining API (Application Programming Interface) authorization policies for applications executing on a set of associated machines, the method comprising:
- Claim 1, element e1at a set of servers: 171–190
- Claim 1, element e2receiving a plurality of authorization policies for a plurality of API calls to the applications; 192–288
- Claim 1, element e3collecting parameters for evaluating the authorization policies to assess whether API calls should be authorized or rejected; and 290–414
- Claim 1, element e4storing the defined authorization policies and collected parameters in a single hierarchical storage structure that allows each particular policy and a set of collected parameters associated with the particular policy to be retrieved by providing a location in the hierarchical storage structure that stores the particular policy, 420–749
- Claim 1, element e5wherein each authorization policy is defined as a policy opcode in the hierarchical storage structure, while the collected parameter set for each authorization policy is defined as a policy operand of that policy's opcode in the hierarchical storage structure, 751–1010
- Claim 1, element e6wherein the opcodes are written in a declarative language and the collected parameter sets are written using a language-independent, human-readable format.1012–1166
10 dependent claims: 2 to 11 (2, 3, 4, 5, 6, 10, 11 on claim 1; 7, 8 on 6; 9 on 8)
Claim 2
Depends on claim 1.
2. The method of claim 1 , wherein
- Claim 2, element e1the hierarchical storage structure is a namespace.35–84
Claim 3
Depends on claim 1.
3. The method of claim 1 , wherein
- Claim 3, element e1the location further stores the set of collected parameters for the particular policy.35–120
Claim 4
Depends on claim 1.
4. The method of claim 1 , wherein
- Claim 4, element e1the hierarchical storage structure is a namespace and the location further stores the set of collected parameters for the particular policy or stores a name of a location in the namespace at which the set collected parameters is previously stored in the namespace.35–298
Claim 5
Depends on claim 1.
5. The method of claim 1 , wherein
- Claim 5, element e1the set of servers serves as a logical centralized resource for defining and distributing policies.35–133
Claim 6
Depends on claim 1.
6. The method of claim 1 further comprising
- Claim 6, element e1distributing at least a portion of the hierarchical storage structure to a computer on which a particular application executes, the particular application receiving API calls that need to be authorized.44–245
Claim 7
Depends on claim 6.
7. The method of claim 6 , wherein:
- Claim 7, element e1a local API authorizing agent also executes on the computer; and 36–95
- Claim 7, element e2for an API call received by the particular application, the local API authorizing agent retrieves at least one policy and a set of parameters for that policy from the distributed hierarchical storage structure, and uses the set of retrieved parameters to evaluate the retrieved policy to determine whether the API call to the particular application should be authorized.101–470
Claim 8
Depends on claim 6.
8. The method of claim 6 further comprising:
- Claim 8, element e1identifying updates for at least one set of collected parameters for at least one policy; and 45–133
- Claim 8, element e2storing the update in the hierarchical storage structure; and 139–195
- Claim 8, element e3distributing an updated portion of the hierarchical storage structure to the computer.201–286
Claim 9
Depends on claim 8.
9. The method of claim 8 , wherein
- Claim 9, element e1identifying update comprises retrieving the update from a source of the collected parameter set through a data pull operation or data push operation.35–183
Claim 10
Depends on claim 1.
10. The method of claim 1 , wherein
- Claim 10, element e1the collected parameter sets are written in Javascript Object Notation (JSON) format.36–120
Claim 11
Depends on claim 1.
11. The method of claim 1 , wherein
- Claim 11, element e1collecting parameters for evaluating the authorization policies comprises using a plurality of data-source adapters to collect parameters from a plurality of data sources in one or more datacenters.36–233
Claim 12
Independent claim.
12. A non-transitory machine readable medium storing a program for defining API (Application Programming Interface) authorization policies for applications executing on a set of machines, the program for execution by at least one processing unit of a server, the program comprising
- Claim 12, element e1sets of instructions for: 282–306
- Claim 12, element e2receiving a plurality of authorization policies for a plurality of API calls to the applications; 308–404
- Claim 12, element e3collecting parameters for evaluating the authorization policies to assess whether API calls should be authorized or rejected; and 406–530
- Claim 12, element e4storing the defined authorization policies and collected parameters in a single hierarchical storage structure that allows each particular policy and a set of collected parameters associated with the particular policy to be retrieved by providing a location in the hierarchical storage structure that stores the particular policy, 536–865
- Claim 12, element e5wherein each authorization policy is defined as a policy opcode in the hierarchical storage structure, while the collected parameter set for each authorization policy is defined as a policy operand of that policy's opcode in the hierarchical storage structure, 867–1126
- Claim 12, element e6wherein the opcodes are written in a declarative language and the collected parameter sets are written using a language-independent, human-readable format.1128–1282
6 dependent claims: 13 to 18 (13, 14, 15 on claim 12; 16, 17 on 15; 18 on 17)
Claim 13
Depends on claim 12.
13. The non-transitory machine readable medium of claim 12 , wherein
- Claim 13, element e1the location further stores the set of collected parameters for the particular policy.69–154
Claim 14
Depends on claim 12.
14. The non-transitory machine readable medium of claim 12 , wherein
- Claim 14, element e1the hierarchical storage structure is a namespace and the location further stores the set of collected parameters for the particular policy or stores a name of a location in the namespace at which the set collected parameters is previously stored in the namespace.69–332
Claim 15
Depends on claim 12.
15. The non-transitory machine readable medium of claim 12 , wherein
- Claim 15, element e1the program further comprises a set of instructions for distributing at least a portion of the hierarchical storage structure to a computer on which a particular application executes, the particular application receiving API calls that need to be authorized.69–326
Claim 16
Depends on claim 15.
16. The non-transitory machine readable medium of claim 15 , wherein
- Claim 16, element e1a local API authorizing agent also executes on the computer; and 69–128
- Claim 16, element e2for an API call received by the particular application, the local API authorizing agent retrieves at least one policy and a set of parameters for that policy from the distributed hierarchical storage structure, and uses the set of retrieved parameters to evaluate the retrieved policy to determine whether the API call to the particular application should be authorized.134–503
Claim 17
Depends on claim 15.
17. The non-transitory machine readable medium of claim 15 , wherein
- Claim 17, element e1the program further comprises sets of instructions for: 69–123
- Claim 17, element e2identifying updates for at least one set of collected parameters for at least one policy; and 125–213
- Claim 17, element e3storing the update in the hierarchical storage structure; and 219–275
- Claim 17, element e4distributing an updated portion of the hierarchical storage structure to the computer.281–366
Claim 18
Depends on claim 17.
18. The non-transitory machine readable medium of claim 17 , wherein
- Claim 18, element e1the set of instructions for identifying update comprises a set of instructions for retrieving the update from a source of the collected parameter set through a data pull operation or data push operation.69–271
1. A method for defining API (Application Programming Interface) authorization policies for applications executing on a set of associated machines, the method comprising: at a set of servers: receiving a plurality of authorization policies for a plurality of API calls to the applications; collecting parameters for evaluating the authorization policies to assess whether API calls should be authorized or rejected; and storing the defined authorization policies and collected parameters in a single hierarchical storage structure that allows each particular policy and a set of collected parameters associated with the particular policy to be retrieved by providing a location in the hierarchical storage structure that stores the particular policy, wherein each authorization policy is defined as a policy opcode in the hierarchical storage structure, while the collected parameter set for each authorization policy is defined as a policy operand of that policy's opcode in the hierarchical storage structure, wherein the opcodes are written in a declarative language and the collected parameter sets are written using a language-independent, human-readable format.
2. The method of claim 1 , wherein the hierarchical storage structure is a namespace.
3. The method of claim 1 , wherein the location further stores the set of collected parameters for the particular policy.
4. The method of claim 1 , wherein the hierarchical storage structure is a namespace and the location further stores the set of collected parameters for the particular policy or stores a name of a location in the namespace at which the set collected parameters is previously stored in the namespace.
5. The method of claim 1 , wherein the set of servers serves as a logical centralized resource for defining and distributing policies.
6. The method of claim 1 further comprising distributing at least a portion of the hierarchical storage structure to a computer on which a particular application executes, the particular application receiving API calls that need to be authorized.
7. The method of claim 6 , wherein: a local API authorizing agent also executes on the computer; and for an API call received by the particular application, the local API authorizing agent retrieves at least one policy and a set of parameters for that policy from the distributed hierarchical storage structure, and uses the set of retrieved parameters to evaluate the retrieved policy to determine whether the API call to the particular application should be authorized.
8. The method of claim 6 further comprising: identifying updates for at least one set of collected parameters for at least one policy; and storing the update in the hierarchical storage structure; and distributing an updated portion of the hierarchical storage structure to the computer.
9. The method of claim 8 , wherein identifying update comprises retrieving the update from a source of the collected parameter set through a data pull operation or data push operation.
10. The method of claim 1 , wherein the collected parameter sets are written in Javascript Object Notation (JSON) format.
11. The method of claim 1 , wherein collecting parameters for evaluating the authorization policies comprises using a plurality of data-source adapters to collect parameters from a plurality of data sources in one or more datacenters.
12. A non-transitory machine readable medium storing a program for defining API (Application Programming Interface) authorization policies for applications executing on a set of machines, the program for execution by at least one processing unit of a server, the program comprising sets of instructions for: receiving a plurality of authorization policies for a plurality of API calls to the applications; collecting parameters for evaluating the authorization policies to assess whether API calls should be authorized or rejected; and storing the defined authorization policies and collected parameters in a single hierarchical storage structure that allows each particular policy and a set of collected parameters associated with the particular policy to be retrieved by providing a location in the hierarchical storage structure that stores the particular policy, wherein each authorization policy is defined as a policy opcode in the hierarchical storage structure, while the collected parameter set for each authorization policy is defined as a policy operand of that policy's opcode in the hierarchical storage structure, wherein the opcodes are written in a declarative language and the collected parameter sets are written using a language-independent, human-readable format.
13. The non-transitory machine readable medium of claim 12 , wherein the location further stores the set of collected parameters for the particular policy.
14. The non-transitory machine readable medium of claim 12 , wherein the hierarchical storage structure is a namespace and the location further stores the set of collected parameters for the particular policy or stores a name of a location in the namespace at which the set collected parameters is previously stored in the namespace.
15. The non-transitory machine readable medium of claim 12 , wherein the program further comprises a set of instructions for distributing at least a portion of the hierarchical storage structure to a computer on which a particular application executes, the particular application receiving API calls that need to be authorized.
16. The non-transitory machine readable medium of claim 15 , wherein a local API authorizing agent also executes on the computer; and for an API call received by the particular application, the local API authorizing agent retrieves at least one policy and a set of parameters for that policy from the distributed hierarchical storage structure, and uses the set of retrieved parameters to evaluate the retrieved policy to determine whether the API call to the particular application should be authorized.
17. The non-transitory machine readable medium of claim 15 , wherein the program further comprises sets of instructions for: identifying updates for at least one set of collected parameters for at least one policy; and storing the update in the hierarchical storage structure; and distributing an updated portion of the hierarchical storage structure to the computer.
18. The non-transitory machine readable medium of claim 17 , wherein the set of instructions for identifying update comprises a set of instructions for retrieving the update from a source of the collected parameter set through a data pull operation or data push operation.
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 10592302 shows no unresolved maintenance-fee lapse, and the term end computed from the dates in that record is 2038-07-31 (20 years from filing), a date not yet passed (data version 20261117.2).
- Basis
- term_20y (20 years from filing)
- Term end
- 2038-07-31 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: 2 US patent documents · Cited by: 52 US patents in this data · Lists through the API: /api/v1/patent/us_patent_citation/10592302/ (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": "10592302",
"status": "active",
"basis": [
"term_20y"
],
"reinstatement_possible": false,
"reinstatement_basis": "not lapsed",
"expiry_date_estimated": "2038-07-31",
"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/10592302?v=20261117.2",
"next_steps": [
{
"kind": "record",
"url": "https://patentref.io/p/10592302?v=20261117.2",
"audience": "human"
},
{
"kind": "patent",
"url": "https://patentref.io/api/v1/patent/10592302/",
"audience": "agent"
},
{
"kind": "fee_events",
"tool": "uspto_patent_center",
"url": "https://patentcenter.uspto.gov/applications?patentNumber=10592302",
"audience": "agent"
}
]
}
Get this as data
- Full record
/api/v1/patent/10592302/ - Status record
/api/v1/lapse/status/10592302/ - Claim tree
/api/v1/structure/claims/10592302/ - Brief
/api/v1/structure/brief/10592302/
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.