AuthZEN
The decision point's metadata (OpenID AuthZEN Authorization API 1.0, §9): its identifier and the endpoints it serves. Public.
x-pontive-instance-id<token>Instance ID for the request
OK
application/json- response
access_evaluation_endpoint?stringaccess_evaluations_endpoint?stringpolicy_decision_point?stringsearch_action_endpoint?stringsearch_resource_endpoint?stringcurl -X GET 'https://authz.us.pontive.com/.well-known/authzen-configuration'{ "access_evaluation_endpoint": "string", "access_evaluations_endpoint": "string", "policy_decision_point": "string", "search_action_endpoint": "string", "search_resource_endpoint": "string"}AuthZEN Access Evaluation (OpenID AuthZEN Authorization API 1.0, §6): may the subject do the action on the resource. The subject is a user (usr_), a service account (svc_), an agent (agt_), or a token — an access token of this instance as subject.id: a token acting for a user through an agent is answered for the (user, agent) pair, within its organization and while its delegation is live, and the decision's context echoes the verified principal so the caller applies its own scope check. context.actor names an agent acting for a user subject: only what both may do is allowed. A token that does not verify is refused 400 invalid_token. Inherited roles are resolved through the resource graph. Needs sys:authz:check. A check on a custom resource type bills as one authorization check. Callers: a management credential asks about any subject; any other access token of the instance only about itself, subject {"type": "token"} or its own subject by id, and is refused 403 for any other (D24, D48).
x-pontive-instance-id<token>Instance ID for the request
subject, action, resource, context
application/json- body
subject, action, resource, context
action?context?Context carries Pontive's extras: actor, an agent (agt_) acting for the user subject, which can only narrow the decision.
resource?subject?OK
application/json- response
context?Context is, for a token subject, the verified principal (principal: sub, act, aud, scope, client_id, org_id), for the caller's own scope check.
decision?booleancurl -X POST 'https://authz.us.pontive.com/access/v1/evaluation' \ -H 'Content-Type: application/json' \ -d '{}'{ "context": { "property1": null, "property2": null }, "decision": true}AuthZEN Access Evaluations (OpenID AuthZEN Authorization API 1.0, §7): up to 100 questions, answered in the order asked. The request's own subject, action, resource and context are the defaults each evaluation's own keys override; with no evaluations it is a single evaluation, answered as one. options.evaluations_semantic is execute_all (the default), deny_on_first_deny (stop at the first denial) or permit_on_first_permit (stop at the first permit): the answer then ends with the evaluation that stopped it. Subjects, tokens and context.actor are named as in an evaluation. Needs sys:authz:check. Each check on a custom resource type bills as one authorization check. Callers: a management credential asks about any subject; any other access token of the instance only about itself, subject {"type": "token"} or its own subject by id, and is refused 403 for any other (D24, D48).
x-pontive-instance-id<token>Instance ID for the request
defaults, evaluations and options
application/json- body
defaults, evaluations and options
action?context?Context carries Pontive's extras: actor, an agent (agt_) acting for the user subject, which can only narrow the decision.
evaluations?array<>options?resource?subject?OK
application/json- response
evaluations?array<>curl -X POST 'https://authz.us.pontive.com/access/v1/evaluations' \ -H 'Content-Type: application/json' \ -d '{}'{ "evaluations": [ { "context": { "property1": null, "property2": null }, "decision": true } ]}AuthZEN Action Search (OpenID AuthZEN Authorization API 1.0, §8.6): the actions the subject may take on the resource. For a subject named by id or by an access token, identity-svc checks every permission of the resource's type on the object, as an evaluation is checked, and answers those held in key order; context.actions narrows the answer to the ones asked about, and context.actor names an agent acting for a user subject. For the caller itself — subject {"type": "token"} with no id — context.actions names the catalog permissions (sys::, at most 32) to ask about on the target instance (resource {"type": "root"}): what a client hides or disables by, never the decision. Needs sys:authz:check; the caller's own question needs nothing. Callers: a management credential asks about any subject; any other access token of the instance only about itself, subject {"type": "token"} or its own subject by id, and is refused 403 for any other (D24, D48).
x-pontive-instance-id<token>Instance ID for the request
subject, resource, context
application/json- body
subject, resource, context
action?context?Context carries Pontive's extras: actor; for a resource search organization_id, parent_id, direct_only and include_ancestors; for an action search actions, the action names to ask about (required for the caller's own token, at most 32).
page?resource?subject?OK
application/json- response
results?array<>curl -X POST 'https://authz.us.pontive.com/access/v1/search/action' \ -H 'Content-Type: application/json' \ -d '{}'{ "results": [ { "name": "string", "properties": { "property1": null, "property2": null } } ]}AuthZEN Resource Search (OpenID AuthZEN Authorization API 1.0, §8.5): the resources of resource.type the subject may do action.name on, directly or by inheritance, each with its name, organization, parent and the roles held as properties. Subjects, tokens and context.actor are named as in an evaluation; a delegated subject lists what the (user, agent) pair both reach. context takes Pontive's filters: organization_id, parent_id, direct_only, include_ancestors. Pages by page.token and page.limit (1 to 100); page.next_token is "" on the last page. Needs sys:authz:check for a token or an actor; a subject alone needs what reading that principal does (sys:user:read, sys:sa:read or sys:agent:read). Bills as one authorization check. Callers: a management credential asks about any subject; any other access token of the instance only about itself, subject {"type": "token"} or its own subject by id, and is refused 403 for any other (D24, D48).
x-pontive-instance-id<token>Instance ID for the request
subject, action, resource {type}, context, page
application/json- body
subject, action, resource {type}, context, page
action?context?Context carries Pontive's extras: actor; for a resource search organization_id, parent_id, direct_only and include_ancestors; for an action search actions, the action names to ask about (required for the caller's own token, at most 32).
page?resource?subject?OK
application/json- response
page?results?array<>curl -X POST 'https://authz.us.pontive.com/access/v1/search/resource' \ -H 'Content-Type: application/json' \ -d '{}'{ "page": { "count": 0, "next_token": "string", "total": 0 }, "results": [ { "id": "string", "properties": { "property1": null, "property2": null }, "type": "string" } ]}