OpenID_Association
A class that represents an association. This class can be serialized for storage. It also allows you to add and check signatures of an OpenID_Message.
Located in /OpenID/Association.php (line 37)
assoc_handle parameter of the association.
assoc_type parameter of the association. Should be one of HMAC-SHA1 or HMAC-SHA256
Unix timestamp of when this association was created.
expires_in paramater of the association. Time is in seconds.
Required parameters for storing an association.
In the association response, this is also referred to as the "mac_key", or is derived from the "enc_mac_key" if the session used encryption.
Local list of supported association types.
URI of the OP Endpoint
Validates some association values before setting them as member variables.
Checks the signature of an OpenID_Message using this association
Gets the algo part of the assoc_type (strips 'HMAC-')
Returns a KV formatted message for signing based on the contents of the openid.signed key. This allows for duplicate entries, which OpenID_Message::getKVFormat() doesn't. (Yahoo! uses duplicates)
Gets a an HMAC hash of an OpenID_Message using this association.
Signs an OpenID_Message instance
Allows access to association data via $assoc->name
Documentation generated on Tue, 15 Dec 2009 19:00:51 -0800 by phpDocumentor 1.4.3