Skip to main content

verify_claims

Function verify_claims 

Source
pub(super) fn verify_claims<T: DeserializeOwned>(
    token: &SecretString,
    key: &SecretSlice<u8>,
) -> Result<T, AuthenticationError>
Expand description

Applies the same JWT policy as verify with a decoded signing key.