deno.land / x / oauth4webapi@v1.2.2 / docs / functions / getValidatedIdTokenClaims.md

getValidatedIdTokenClaims.md

Function: getValidatedIdTokenClaims

💗 Help the project

â–¸ getValidatedIdTokenClaims(ref): IDToken

Returns ID Token claims validated during processAuthorizationCodeOpenIDResponse.

Parameters

Name Type Description
ref OpenIDTokenEndpointResponse Value previously resolved from processAuthorizationCodeOpenIDResponse.

Returns

IDToken

JWT Claims Set from an ID Token.

â–¸ getValidatedIdTokenClaims(ref): IDToken | undefined

Returns ID Token claims validated during processRefreshTokenResponse or processDeviceCodeResponse.

Parameters

Name Type Description
ref TokenEndpointResponse Value previously resolved from processRefreshTokenResponse or processDeviceCodeResponse.

Returns

IDToken | undefined

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

oauth4webapi

Version Info

Tagged at
2 years ago