pub fn validate( token: &str, config: &JwtConfig, ) -> Result<TokenClaims, JwtError>
Validate a JWT token string and return the claims.