Skip to main content

decode_jwt_hs256

Function decode_jwt_hs256 

Source
pub fn decode_jwt_hs256<T>(
    token: &str,
    secrets: &[Arc<[u8]>],
    leeway_seconds: u64,
    now_unix_seconds: u64,
) -> Result<T, JwtValidationError>