Auth_OpenID_Signatory Auth_OpenID_Signatory(
$store
)
|
|
Create a new signatory using a given store.
Parameters:
void createAssociation(
[
$dumb = true], [
$assoc_type = 'HMAC-SHA1']
)
|
|
Make a new association.
Parameters:
void getAssociation(
$assoc_handle,
$dumb, [
$check_expiration = true]
)
|
|
Given an association handle, get the association from the store, or return a ServerError or null if something goes wrong.
Parameters:
|
|
$assoc_handle: |
|
|
|
$dumb: |
|
|
|
$check_expiration: |
|
void invalidate(
$assoc_handle,
$dumb
)
|
|
Invalidate a given association handle.
Parameters:
Given a response, sign the fields in the response's 'signed' list, and insert the signature into the response.
Parameters:
void verify(
$assoc_handle,
$message
)
|
|
Verify, using a given association handle, a signature with signed key-value pairs from an HTTP request.
Parameters: