Parse an association as stored by serialize(). This is the inverse of serialize.
Parameters:
|
string |
$assoc_s: |
Association as serialized by serialize() |
|
|
$class_name: |
|
API Tags:
| Return: | instance of this class |
This checks to see if two Auth_OpenID_Association instances represent the same association.
Parameters:
API Tags:
| Return: | true if the two instances represent the same association, false otherwise. |
integer getExpiresIn(
[
$now = null]
)
|
|
This returns the number of seconds this association is still valid for, or 0 if the association is no longer valid.
Parameters:
API Tags:
| Return: | The number of seconds this association is still valid for, or 0 if the association is no longer valid. |
Convert an association to KV form.
API Tags:
| Return: | String in KV form suitable for deserialization by deserialize. |