decode

Function decode 

Source
pub fn decode<T: DeserializeOwned>(
    jws: &Jws<T>,
    key: &DecodingKey,
    validation: &Validation,
) -> Result<TokenData<T>>
Expand description

Validate a received JWS and decode into the header and claims.