Method: RubyApp::Elements::Mobile::Documents::Authentication::OpenId::AxAuthenticationDocument#create_identity_from_response

Defined in:
lib/ruby_app/elements/mobile/documents/authentication/open_id/ax_authentication_document.rb

#create_identity_from_response(response) ⇒ Object



38
39
40
41
42
43
44
45
# File 'lib/ruby_app/elements/mobile/documents/authentication/open_id/ax_authentication_document.rb', line 38

def create_identity_from_response(response)
  ax_response = ::OpenID::AX::FetchResponse.from_success_response(response)
  if ax_response
    return self.create_identity_from_ax_response(ax_response)
  else
    return super(response)
  end
end