Skip to main content

validate_hs256_legacy_claim

Function validate_hs256_legacy_claim 

Source
fn validate_hs256_legacy_claim<T: DeserializeOwned>(
    token: &str,
    key: &JwtKey,
) -> Result<T, Error>
Expand description

Decodes claims in compatibility mode and validates legacy expiration_time manually.