Class: Warden::Auth0::TokenDecoder
- Inherits:
-
Object
- Object
- Warden::Auth0::TokenDecoder
- Defined in:
- lib/warden/auth0/token_decoder.rb
Overview
Decodes a JWT into a hash payload into a JWT token
Instance Method Summary collapse
-
#call(token) ⇒ Hash
Decodes the payload from a JWT as a hash.
Instance Method Details
#call(token) ⇒ Hash
Decodes the payload from a JWT as a hash
token is invalid
18 19 20 |
# File 'lib/warden/auth0/token_decoder.rb', line 18 def call(token) decode(token, decoding_secret) end |