PingOne Advanced Identity Cloud

Scope evaluation scripting API

The following bindings are available to Scope evaluation scripts:

This script can be either a legacy or a next-generation 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 type Next-generation type

accessToken

The OAuth 2.0 access token.

Find examples of how to use the binding in Modify an access token.

An AccessToken object.

A wrapper object that lets you access AccessToken methods.

clientProperties

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

identity

Represents an identity that Advanced Identity Cloud can access.

Find examples of how to use the binding in Access profile data.

An AMIdentity object.

A wrapper object for a scripted identity.

requestProperties

A read-only object (map) of the request properties.

Learn more in Access request properties.

Map

Map

session

A representation of the user’s SSO session object.

An SSOToken object.

A ScriptedSession object.

Methods
public String getProperty(String name)
public void setProperty(String name, String value)