Module: JWT::Auth
- Defined in:
- lib/jwt/auth/token.rb,
lib/jwt/auth/version.rb,
lib/jwt/auth/configuration.rb,
lib/jwt/auth/authentication.rb,
lib/jwt/auth/authenticatable.rb
Defined Under Namespace
Modules: Authenticatable, Authentication Classes: Token
Constant Summary collapse
- VERSION =
'1.2.0'
Class Attribute Summary collapse
-
.model ⇒ Object
Returns the value of attribute model.
-
.secret ⇒ Object
Returns the value of attribute secret.
-
.token_lifetime ⇒ Object
Returns the value of attribute token_lifetime.
Class Method Summary collapse
Class Attribute Details
.model ⇒ Object
Returns the value of attribute model.
6 7 8 |
# File 'lib/jwt/auth/configuration.rb', line 6 def model @model end |
.secret ⇒ Object
Returns the value of attribute secret.
6 7 8 |
# File 'lib/jwt/auth/configuration.rb', line 6 def secret @secret end |
.token_lifetime ⇒ Object
Returns the value of attribute token_lifetime.
6 7 8 |
# File 'lib/jwt/auth/configuration.rb', line 6 def token_lifetime @token_lifetime end |