Function validate_token

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

Middleware to extract and validate JWT token from the request.