Module: Devise::Models::JwtAuthenticatable

Extended by:
ActiveSupport::Concern
Defined in:
lib/devise/jwt/models/jwt_authenticatable.rb

Overview

Model that will be authenticatable with the JWT strategy

See Also:

  • [Warden[Warden::JWTAuth[Warden::JWTAuth::Interfaces[Warden::JWTAuth::Interfaces::UserRepository]
  • [Warden[Warden::JWTAuth[Warden::JWTAuth::Interfaces[Warden::JWTAuth::Interfaces::User]

Instance Method Summary collapse

Instance Method Details

#jwt_subjectObject



24
25
26
# File 'lib/devise/jwt/models/jwt_authenticatable.rb', line 24

def jwt_subject
  id
end