Context of DCR pre-processing procedures.

Hierarchy

Properties

clientCertificate: null | ScriptCertificate
initiallyAuthenticatedSubject: null | string
initiallyAuthenticatedTokenClaims: object
json: Json

Get the JSON helper for serializing/de-serializing JavaScript and Java types.

registrationData: object
request: ScriptRequest

The original request object. This can be used to access headers and parameters passed in the original request.

response: ScriptResponse

The Response object. Can be used to modify cookies in the response.

Methods

  • Returns null | string

  • Returns object

  • Returns object

  • Parameters

    • token: string

    Returns object

  • Extracts the claims from JWT after validating the signature. Does not validate any other claims like iat, exp, iss etc

    Parameters

    • verificationKeystoreId: string
    • tokenString: string
    • constraints: {
          acceptedAlgorithms: string[];
      }
      • acceptedAlgorithms: string[]

    Returns object