Class: Htpasswd::Acls::Plain
Instance Method Summary collapse
Methods inherited from Base
[], #authorize_type, #authorize_user, #authorized?, #initialize, #pass, register, #type, #user
Constructor Details
This class inherits a constructor from Htpasswd::Acls::Base
Instance Method Details
#authorize_pass(scheme) ⇒ Object
4 5 6 7 |
# File 'lib/htpasswd/acls/plain.rb', line 4 def (scheme) pass == scheme.pass or raise IncorrectPassword end |