Social IdP profile transformation scripting API
The following bindings are available when you configure a script to transform the identity provider (IdP)'s raw profile into a normalized object.
The social IdP transformation script is a legacy script and therefore has access to all
the legacy common bindings such as logger and realm ,
in addition to those described here.
|
Binding | Description |
---|---|
|
Access the shared state of the tree. Learn more about the |
|
The object that stores the social IdP profile attributes in the format received by the provider. For example, |
|
Access the HTTP headers provided in the login request by calling For example: var hostName = requestHeaders.get("host").get(0); |
|
Access the HTTP request parameters provided in the login request by calling For example: var authType = requestParameters.get("authIndexType").get(0); |
|
The social identity provider name. For example: |