PingOne Advanced Identity Cloud

Dynamic client registration scripting API

The following bindings are available to dynamic client registration scripts.

The dynamic client registration script is a next-generation script and therefore has access to all the next-generation common bindings in addition to those described here.
Binding Description

requestProperties

A map of the properties in the request. Always present.

The keys in the map are as follows:

  • requestUri: The URI of the request.

  • realm: The realm to which the request was made.

  • requestParams: The request parameters, and/or posted data. Each value in this map is a list of one, or more, properties.

  • requestHeaders: A map of the request headers. Header names are case-sensitive.

  • requestBody: A map representing the body of the request.

    To mitigate the risk of reflection-type attacks, use OWASP best practices when handling these properties. Find more information in Unsafe use of Reflection.

operation

The dynamic client registration request operation as a String. Possible values: CREATE, UPDATE, DELETE.

clientIdentity

The ScriptedIdentity object that represents the created or updated client.

The identity object has the following methods:

  • public List<String> getAttributeValues(String attributeName)

  • public String getName()

  • public String getUniversalId()

  • public void addAttribute(String attributeName, String attributeValue)

  • public void setAttribute(String attributeName, List<String> attributeValues)

  • public void store() throws IdentityUpdateException

This binding is null if the operation is DELETE.

softwareStatement

A map representing the decoded JWT of the software statement from the request, including the issuer and required claims.

This is an empty map if no software statement is provided.