Class: Htpasswd::Acls::Crypted
- Defined in:
- lib/htpasswd/acls/crypted.rb
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/crypted.rb', line 4 def (scheme) pass == scheme.pass.crypt(pass) or raise IncorrectPassword end |