Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: OpenID

Developer Network License

The Joomla! Developer Network content is © copyright 2006 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5

 Class Auth_OpenID_Association

Description

This class represents an association between a server and a consumer. In general, users of this library will never see instances of this object. The only exception is if you implement a custom Auth_OpenID_OpenIDStore.

If you do implement such a store, it will need to store the values of the handle, secret, issued, lifetime, and assoc_type instance variables.

Located in /openid/Auth/OpenID/Association.php (line 39)

Class Auth_OpenID_Association
Method Summary
Method Auth_OpenID_Association deserialize ( $class_name, string $assoc_s)
Method bool equal ( $other)
Method integer getExpiresIn ([ $now = null])
Method string serialize ()
Methods
deserialize (line 198)

Parse an association as stored by serialize(). This is the inverse of serialize.

  • return: instance of this class
Auth_OpenID_Association deserialize ( $class_name, string $assoc_s)
  • string $assoc_s: Association as serialized by serialize()
  • $class_name
equal (line 159)

This checks to see if two Auth_OpenID_Association instances represent the same association.

  • return: true if the two instances represent the same association, false otherwise.
bool equal ( $other)
  • $other
getExpiresIn (line 143)

This returns the number of seconds this association is still valid for, or 0 if the association is no longer valid.

  • return: The number of seconds this association is still valid for, or 0 if the association is no longer valid.
integer getExpiresIn ([ $now = null])
  • $now
serialize (line 175)

Convert an association to KV form.

  • return: String in KV form suitable for deserialization by deserialize.
string serialize ()

Documentation generated on Mon, 05 Mar 2007 20:52:35 +0000 by phpDocumentor 1.3.1