Skip to main content

decode_claims_unverified

Function decode_claims_unverified 

Source
pub fn decode_claims_unverified(token: &str) -> Result<JwtClaims, JwtError>
Expand description

Decode JWT claims WITHOUT verifying the signature.

This is used for the initial dispatch to determine if a bearer token is a JWT or an atrg session token.