May act scripting API
The following bindings are available to May act scripts for token exchange.
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 | ||
|---|---|---|---|---|---|
|
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 examples of how to use the binding in Access profile data. |
An AMIdentity object. |
A wrapper object for a scripted identity. |
||
|
A read-only object (map) of the following 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
|
||
|
The token to be updated. The token is a mutable object, which means that changes directly update the underlying token state. Use the |
An |
An Methods
|