Skip to main content

decode_unverified

Function decode_unverified 

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

Decode a JWT without verifying the signature.

Used by verify_claims() to peek at the issuer field before selecting the appropriate verification key (local vs federated). The token is always fully verified after issuer routing.