Pass any AX response to the callback along with the SReg response

This commit is contained in:
Tom Hughes 2010-10-03 14:24:45 +01:00
parent a0b76fc2c5
commit 94f9f4b76f

View file

@ -112,7 +112,8 @@ module OpenIdAuthentication
case response.status
when OpenID::Consumer::SUCCESS
yield Result[:successful], identifier,
OpenID::SReg::Response.from_success_response(response)
OpenID::SReg::Response.from_success_response(response),
OpenID::AX::FetchResponse.from_success_response(response)
when :missing
yield Result[:missing], identifier, nil
when :invalid