Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 1.18 KB

File metadata and controls

25 lines (15 loc) · 1.18 KB

Function: getValidatedIdTokenClaims()

💗 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

Parameter Type Description
ref TokenEndpointResponse TokenEndpointResponse 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.