Skip to main content

verify_token

Function verify_token 

Source
pub fn verify_token(secret: &[u8], token: &str, now: u64) -> Result<u64>
Expand description

The subject of a token this secret signed; an expired, forged or malformed token is an error.