PingOne Advanced Identity Cloud

IdP attribute mapper scripting API

The following bindings are available to IdP attribute mapper scripts.

An IdP attribute mapper script can be either a legacy or a next-generation script. It has access to all the common bindings for its scripting context.
Binding Description Legacy type Next-generation type

hostedEntityId

The entity ID for the hosted IdP.

String

String

idpAttributeMapperScriptHelper

The helper object that provides context information for the script.

An IdpAttributeMapperScriptHelper instance containing methods used for IdP attribute mapping.

An instance of IdpAttributeMapperScriptNextGenHelper, which has the following method:

public List<Object> getStandardAttributes()

Returns a list of maps with the user attributes for the current session. For example:

[
  {
    "name:": "emailAddress",
    "nameFormat": null,
    "values": ["bjensen@example.com"]
  },
...
]

remoteEntityId

The entity ID for the remote SP.

String

String

session

A representation of the user’s SSO session object.

An SSOToken object.

A ScriptedSession object.