module Devise::Models::JwtCookieAuthenticatable
Public Class Methods
find_for_jwt_authentication(sub)
click to toggle source
# File lib/devise/jwt/cookie/models/jwt_cookie_authenticatable.rb, line 9 def self.find_for_jwt_authentication(sub) find_by(primary_key => sub) end
Public Instance Methods
jwt_subject()
click to toggle source
# File lib/devise/jwt/cookie/models/jwt_cookie_authenticatable.rb, line 14 def jwt_subject id end