Skip to main content

decode_jwt

Function decode_jwt 

Source
pub fn decode_jwt<E>(
    token: &str,
    config: &JwtConfig,
) -> Result<Claims<E>, JwtError>
where E: for<'de> Deserialize<'de>,
Expand description

Decode and verify a JWT token, returning the Claims.