Function wascap::jwt::validate_token[][src]

pub fn validate_token<T>(input: &str) -> Result<TokenValidation> where
    T: Serialize + DeserializeOwned + WascapEntity
Expand description

Validates a signed JWT. This will check the signature, expiration time, and not-valid-before time