Class OpenID::Server::AssociateRequest
In: lib/openid/server.rb
Parent: OpenIDRequest

A request to establish an association.

See OpenID Specs, Section 8: Establishing Associations <>



assoc_type  [RW]  The type of association. Supported values include HMAC-SHA256 and HMAC-SHA1
session  [RW]  An object that knows how to handle association requests of a certain type.

Public Class methods

Construct me.

The session is assigned directly as a class attribute. See my class documentation for its description.

Public Instance methods

Respond to this request with an association.

assoc:The association to send back.

Returns a response with the association information, encrypted to the consumer‘s public key if appropriate.

Respond to this request indicating that the association type or association session type is not supported.