OIDC claims scripting API
The following bindings are available to OIDC claims scripts:
This script can be either a next-generation or a legacy script. It has access to all the common bindings for its scripting context.
Learn about converting existing scripts in Migrate OAuth scripts to next-generation scripts.
| Binding | Description | Legacy | Next-generation |
|---|---|---|---|
|
An object (map) of the default OIDC claims AM provides. The keys are the claim strings. The values are the claim value objects. |
Map |
Map |
|
An array of string values from the Learn more in Claims Languages and Scripts in the OpenID Connect Core 1.0 specification. |
Array of Strings |
Array of Strings |
|
The default OIDC claims AM provides. |
An array of claim objects. |
Not available |
|
A map of properties configured in the client profile. Only present if the client was correctly identified. Find information about the keys in Access client properties. |
Map |
Map |
|
Represents an identity that AM can access. Find information about how to use the binding in Access profile data. |
An AMIdentity object. |
A wrapper object for a scripted identity. |
|
The requested claims. This is empty unless the request includes the The requested values are not passed to the script; resolve each claim from an authoritative source. Learn more in How requested claims are passed to and resolved by the script. Find more information about the |
Map of Set objects |
Map of List objects |
|
An array of the requested claims objects. |
Not available. Use |
|
|
A read-only object (map) of the request properties. Learn more in Access request properties. |
Map |
Map |
|
The set of scopes in the client request. |
Set of Strings |
List of Strings |
|
A representation of the user’s SSO session object. |
An SSOToken object. |
A Methods
|