Module: Devise

Defined in:
lib/devise/jwt.rb,
lib/devise/jwt/models.rb,
lib/devise/jwt/railtie.rb,
lib/devise/jwt/version.rb,
lib/devise/jwt/test_helpers.rb,
lib/devise/jwt/mapping_inspector.rb,
lib/devise/jwt/defaults_generator.rb,
lib/devise/jwt/revocation_strategies.rb,
lib/devise/jwt/models/jwt_authenticatable.rb,
lib/devise/jwt/revocation_strategies/null.rb,
lib/devise/jwt/revocation_strategies/denylist.rb,
lib/devise/jwt/revocation_strategies/allowlist.rb,
lib/devise/jwt/revocation_strategies/jti_matcher.rb

Overview

Authentication library

Defined Under Namespace

Modules: JWT, Models

Class Method Summary collapse

Class Method Details

.jwt {|Devise::JWT.config| ... } ⇒ Object

Yields to Warden::JWTAuth.config

Yields:

See Also:

  • Warden::JWTAuth


19
20
21
# File 'lib/devise/jwt.rb', line 19

def self.jwt
  yield(Devise::JWT.config)
end