Function: getValidatedIdTokenClaims()

October 24, 2025 ยท View on GitHub

๐Ÿ’— Help the project

Support from the community to continue maintaining and improving this module is welcome. If you find the module useful, please consider supporting the project by becoming a sponsor.


โ–ธ getValidatedIdTokenClaims(ref): IDToken | undefined

Returns ID Token Claims Set from a TokenEndpointResponse processed by e.g. processAuthorizationCodeResponse. To optionally validate the ID Token Signature use validateApplicationLevelSignature.

Parameters

ParameterTypeDescription
refTokenEndpointResponseTokenEndpointResponse previously resolved from e.g. processAuthorizationCodeResponse

Returns

IDToken | undefined

JWT Claims Set from an ID Token, or undefined if there is no ID Token in ref.