Module: ROM::Auth::Plugins::AuthenticationCredentialsPlugin::CallbackOverrides

Defined in:
lib/rom/auth/plugins/authentication_credentials_plugin.rb

Instance Method Summary collapse

Instance Method Details

#identify_user(credentials) ⇒ Object



104
105
106
# File 'lib/rom/auth/plugins/authentication_credentials_plugin.rb', line 104

def identify_user(credentials)
  plugins[ROM::Auth::Plugins::AuthenticationCredentialsPlugin].identify_user(credentials)
end

#run_authentication_check(credentials) ⇒ Object



108
109
110
# File 'lib/rom/auth/plugins/authentication_credentials_plugin.rb', line 108

def run_authentication_check(credentials)
  plugins[ROM::Auth::Plugins::AuthenticationCredentialsPlugin].authenticate(credentials)
end