PingAM

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 Legacy Next-generation

hostedEntityId

The entity ID for the hosted IdP.

idpAttributeMapperScriptHelper

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.

session

Contains a representation of the user’s SSO session object. Refer to the SSOToken interface for information about SSO token and authentication information, as well as session-related properties.