Class: Devise::Strategies::LoginzaAuthenticatable

Inherits:
Base
  • Object
show all
Defined in:
lib/devise_loginza/strategy.rb

Instance Method Summary collapse

Instance Method Details

#authenticate!Object



8
9
10
11
12
13
14
15
# File 'lib/devise_loginza/strategy.rb', line 8

def authenticate!
  logger.debug("Authenticating with Loginza for mapping #{mapping.to}")
  if provider_response
    handle_response!
  else
    fail(:invalid_token)
  end
end