Function: getValidatedIdTokenClaims()
October 24, 2025 ยท View on GitHub
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.