fn validate_hs256_claim<T: DeserializeOwned>(
token: &str,
key: &JwtKey,
) -> Result<T, Error>Expand description
Decodes and verifies an HS256 token into the requested claim type.
fn validate_hs256_claim<T: DeserializeOwned>(
token: &str,
key: &JwtKey,
) -> Result<T, Error>Decodes and verifies an HS256 token into the requested claim type.