Skip to main content

decode_with

Function decode_with 

Source
pub fn decode_with<T: DeserializeOwned>(
    token: &str,
    secret: &[u8],
    validation: &Validation,
) -> Result<T>
Expand description

Like decode with leeway, issuer and audience checks