decode_jwt_unverified

Function decode_jwt_unverified 

Source
pub fn decode_jwt_unverified(jwt: &str) -> Result<(JwtHeader, Value)>
Expand description

Decode a JWT without verifying the signature.

Returns the header and claims. Useful for inspecting tokens before selecting the right verification key.