engines/adva_user/vendor/plugins/authentication/lib/authentication.rb
# If the given password will authenticate the object using
# the chain of authentication modules configured then true is
# returned. Otherwise false is returned. Both token modules
# and password auth modules are checked.
If the given password will authenticate the object using
the chain of authentication modules configured then true is
returned. Otherwise false is returned. Both token modules
and password auth modules are checked.
If the given password will authenticate the object using the chain of authentication modules configured then true is returned . Otherwise false is returned . Both token modules and password auth modules are checked .
def authenticate(password)
      mods = [
        self.class.token_modules,
        self.class.authentication_modules
      ].flatten.compact
      mods.each {|mod| return true if mod.authenticate self, password}
      false
    end
def authenticate ( password ) mods = [ self . class . token_modules , self . class . authentication_modules ] . flatten . compact mods . each { | mod | return true if mod . authenticate self , password } false end
If the given password will authenticate the object using
the chain of authentication modules configured then true is
returned.
If the given password will authenticate the object using the chain of authentication modules configured then true is returned .
password