module Slots::JWT::Tokens::ClassMethods

Public Instance Methods

from_sloken(slots_jwt) click to toggle source
# File lib/slots/jwt/tokens.rb, line 95
def from_sloken(slots_jwt)
  self.new(slots_jwt.authentication_model_values).set_token!(slots_jwt)
end
jwt_identifier_column() click to toggle source
# File lib/slots/jwt/tokens.rb, line 99
def jwt_identifier_column
  Slots::JWT.configuration.logins.keys.first
end