Class: ROM::Auth::Authenticators::PasswordAuthenticator
- Inherits:
-
Authenticator
- Object
- Authenticator
- ROM::Auth::Authenticators::PasswordAuthenticator
- Defined in:
- lib/rom/auth/authenticators/password_authenticator.rb
Instance Method Summary collapse
Instance Method Details
#authenticate(user, identifier, password) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/rom/auth/authenticators/password_authenticator.rb', line 5 def authenticate(user, identifier, password) raise ArgumentError unless password.is_a?(String) #user.password_verifier.verifies?(password) end |