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.
Decode a JWT access token without verifying its signature.
For diagnostics only — the returned claims MUST NOT be trusted for authorization decisions. Returns
nullif 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 usesjose.Opaque (non-JWT) tokens always return
null, which is the expected outcome for servers that issue reference tokens rather than JWTs.