Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oauth4webapi/mod.ts>getValidatedIdTokenClaims

OAuth 2 / OpenID Connect for JavaScript Runtimes
Go to Latest
function getValidatedIdTokenClaims
import { getValidatedIdTokenClaims } from "https://deno.land/x/oauth4webapi@v2.7.0/mod.ts";

Returns ID Token claims validated during processAuthorizationCodeOpenIDResponse.

Returns

JWT Claims Set from an ID Token.

Returns ID Token claims validated during processRefreshTokenResponse or processDeviceCodeResponse.

Returns

IDToken | undefined

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