Module: JWT::Auth
- Defined in:
- lib/jwt/auth/token.rb,
lib/jwt/auth/errors.rb,
lib/jwt/auth/version.rb,
lib/jwt/auth/access_token.rb,
lib/jwt/auth/configuration.rb,
lib/jwt/auth/refresh_token.rb,
lib/jwt/auth/authentication.rb,
lib/jwt/auth/authenticatable.rb
Defined Under Namespace
Modules: Authenticatable, Authentication Classes: AccessToken, Error, RefreshToken, Token, UnauthorizedError
Constant Summary collapse
- VERSION =
YAML.load_file File.join __dir__, '..', '..', '..', 'version.yml'
Class Attribute Summary collapse
-
.access_token_lifetime ⇒ Object
Returns the value of attribute access_token_lifetime.
-
.model ⇒ Object
Returns the value of attribute model.
-
.refresh_token_lifetime ⇒ Object
Returns the value of attribute refresh_token_lifetime.
-
.secret ⇒ Object
Returns the value of attribute secret.
Class Method Summary collapse
Class Attribute Details
.access_token_lifetime ⇒ Object
Returns the value of attribute access_token_lifetime.
6 7 8 |
# File 'lib/jwt/auth/configuration.rb', line 6 def access_token_lifetime @access_token_lifetime end |
.model ⇒ Object
Returns the value of attribute model.
6 7 8 |
# File 'lib/jwt/auth/configuration.rb', line 6 def model @model end |
.refresh_token_lifetime ⇒ Object
Returns the value of attribute refresh_token_lifetime.
6 7 8 |
# File 'lib/jwt/auth/configuration.rb', line 6 def refresh_token_lifetime @refresh_token_lifetime end |
.secret ⇒ Object
Returns the value of attribute secret.
6 7 8 |
# File 'lib/jwt/auth/configuration.rb', line 6 def secret @secret end |