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

x/oauth4webapi/mod.ts>getValidatedIdTokenClaims

OAuth 2 / OpenID Connect for Web Platform API JavaScript runtimes
Go to Latest
function getValidatedIdTokenClaims
import { getValidatedIdTokenClaims } from "https://deno.land/x/oauth4webapi@v2.1.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.