Skip to main content

validate_token

Function validate_token 

Source
pub fn validate_token(secret: &str, token: &str) -> Result<Claims, ApiError>
Expand description

Validate a JWT and return the embedded claims.