@adcp/sdk API Reference - v17.0.0-rc.0
    Preparing search index...

    Function decodeAccessTokenClaims

    • Decode a JWT access token without verifying its signature.

      For diagnostics only — the returned claims MUST NOT be trusted for authorization decisions. Returns null if the token is not a well-formed three-part JWS compact serialization: segments that are not base64url, or a header or claims set that is not a JSON object. Decoding uses jose.

      Opaque (non-JWT) tokens always return null, which is the expected outcome for servers that issue reference tokens rather than JWTs.

      Parameters

      • token: string | null | undefined

      Returns DecodedAccessToken | null