pub fn decode<T: DeserializeOwned>(token: &str, secret: &[u8]) -> Result<T>Expand description
Verify signature, exp and nbf and return the claims
pub fn decode<T: DeserializeOwned>(token: &str, secret: &[u8]) -> Result<T>Verify signature, exp and nbf and return the claims