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

x/oauth4webapi/mod.ts>getValidatedIdTokenClaims

Low-Level OAuth 2 / OpenID Connect Client API for JavaScript Runtimes
Latest
function getValidatedIdTokenClaims
import { getValidatedIdTokenClaims } from "https://deno.land/x/oauth4webapi@v3.1.2/mod.ts";

Returns ID Token claims validated during processRefreshTokenResponse or processDeviceCodeResponse. To optionally validate its JWS Signature use validateApplicationLevelSignature

Returns

IDToken | undefined

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