Class OpenID::Consumer::IdResHandler
In: lib/openid/consumer/idres.rb
Parent: Object

Handles an openid.mode=id_res response. This object is instantiated and used by the Consumer.



endpoint  [R] 
message  [R] 

Public Class methods

Public Instance methods

Protected Instance methods

Raises ProtocolError if the signature is bad

Given an endpoint object created from the information in an OpenID response, perform discovery and verify the discovery results, returning the matching endpoint that is the result of doing that discovery.

This method will raise ProtocolError unless the request is a valid id_res response. Once it has been verified, the methods ‘endpoint’, ‘message’, and ‘signed_fields’ contain the verified information.

Process the response message from a check_authentication request, invalidating associations if requested.