Class OpenID::SuccessResponse
In: lib/openid/consumer.rb
Parent: OpenIDStatus

Encapsulates the information that is useful after a successful Consumer.complete call. Verified identity URL and signed extension response values are available through this object.

Methods

Attributes

identity_url  [R] 
service  [RW] 

Public Class methods

Instances of this object will be created for you automatically by OpenID::Consumer. You should never have to construct this object yourself.

Public Instance methods

Returns all the arguments from an extension‘s namespace. For example

  response.extension_response('sreg')

may return something like:

 {'email' => 'mayor@example.com', 'nickname' => 'MayorMcCheese'}

The extension namespace is not included in the keys of the returned hash. Values returned from this method are guaranteed to be signed. Calling this method should be the only way you access extension response data!

[Validate]