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.
pub fn decode<T: DeserializeOwned>(
jws: &Jws<T>,
key: &DecodingKey,
validation: &Validation,
) -> Result<TokenData<T>>Validate a received JWS and decode into the header and claims.