| Class | OmniAuth::Auth0::JWTValidator |
| In: |
lib/omniauth/auth0/jwt_validator.rb
|
| Parent: | Object |
JWT Validator class
| issuer | [RW] |
Initializer @param options object
options.domain - Application domain. options.client_id - Application Client ID. options.client_secret - Application Client Secret.
Decode a JWT. @param jwt string - JWT to decode. @return hash - The decoded token, if there were no exceptions. @see github.com/jwt/ruby-jwt
Return a specific key from a JWKS object. @param key string - Key to find in the JWKS. @param kid string - Key ID to identify the right JWK. @return nil|string
Get the JWKS from the issuer and return a public key. @param x5c string - X.509 certificate chain from a JWKS. @return key - The X.509 certificate public key.