class Misty::Auth::User

Attributes

password[RW]

Public Instance Methods

identity() click to toggle source
Calls superclass method Misty::Auth::Domain#identity
# File lib/misty/auth/name.rb, line 51
def identity
  data = super
  raise Misty::Config::CredentialsError, "#{self.class}: No password available" if password.nil?
  data.merge!(to_h(:password))
  { :user => data }
end