Class | OpenID::Server::CheckIDRequest |
In: |
lib/openid/server.rb
|
Parent: | OpenIDRequest |
Object representing a request to confirm the identity of a user. This object handles requests for openid.mode checkid_immediate, and checkid_setup.
assoc_handle | [RW] | |
identity | [RW] | |
immediate | [RW] | |
mode | [RW] | |
query | [RW] | |
return_to | [RW] | |
trust_root | [RW] |
Create a CheckIDRequest object from a web query. May raise a ProtocolError if request is a malformed checkid_* reuquest.
Create a new CheckIDRequest instance. Most likely you‘ll want to use CheckIDRequest.from_query to create this object.
Generate a response to this checkid_* request.
The identity URL provided (openid.identity) and available through the identity_url method of this object is owned by the logged in user, and they have approved the consumer receive the identity assertion.
Create the URL to cancel this request. Useful for creating a "Cancel" button on your "approve this openid transaction" form.
The identity_url which was requested to be verified. Your server should provide a page at identity_url, and be able to assert that the logged in user does or does not "own" that URL. "Owning" an identity_url is in the details of the server account name to URL mapping.