Skip to content

Commit

Permalink
docs: update getValidatedIdTokenClaims description
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Feb 17, 2025
1 parent ea30884 commit 26bd601
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3191,12 +3191,12 @@ const idTokenClaims = new WeakMap<TokenEndpointResponse, IDToken>()
const jwtRefs = new WeakMap<Response, string>()

/**
* Returns ID Token claims validated during {@link processRefreshTokenResponse} or
* {@link processDeviceCodeResponse}. To optionally validate its JWS Signature use
* {@link validateApplicationLevelSignature}
* Returns ID Token claims validated during {@link processRefreshTokenResponse},
* {@link processBackchannelAuthenticationGrantResponse}, or {@link processDeviceCodeResponse}. To
* optionally validate its JWS Signature use {@link validateApplicationLevelSignature}
*
* @param ref Value previously resolved from {@link processRefreshTokenResponse},
* {@link processBackchannelAuthenticationGrantResponse} or {@link processDeviceCodeResponse}.
* {@link processBackchannelAuthenticationGrantResponse}, or {@link processDeviceCodeResponse}.
*
* @returns JWT Claims Set from an ID Token, or undefined if there is no ID Token in `ref`.
*
Expand Down

0 comments on commit 26bd601

Please sign in to comment.