Auth_OpenID_Signatory Class Reference

List of all members.


Detailed Description

Responsible for the signature of query data and the verification of OpenID signature values.

Definition at line 1298 of file Server.php.


Public Member Functions

 Auth_OpenID_Signatory (&$store)
 verify ($assoc_handle, $message)
 sign ($response)
 createAssociation ($dumb=true, $assoc_type= 'HMAC-SHA1')
 getAssociation ($assoc_handle, $dumb, $check_expiration=true)
 invalidate ($assoc_handle, $dumb)

Public Attributes

 $SECRET_LIFETIME = 1209600
 $normal_key = 'http://localhost/|normal'
 $dumb_key = 'http://localhost/|dumb'

Member Function Documentation

Auth_OpenID_Signatory.Auth_OpenID_Signatory ( &$  store  ) 

Create a new signatory using a given store.

Definition at line 1313 of file Server.php.

Auth_OpenID_Signatory.verify ( assoc_handle,
message 
)

Verify, using a given association handle, a signature with signed key-value pairs from an HTTP request.

Definition at line 1323 of file Server.php.

Auth_OpenID_Signatory.sign ( response  ) 

Given a response, sign the fields in the response's 'signed' list, and insert the signature into the response.

Definition at line 1339 of file Server.php.

Auth_OpenID_Signatory.createAssociation ( dumb = true,
assoc_type = 'HMAC-SHA1' 
)

Make a new association.

Definition at line 1372 of file Server.php.

Auth_OpenID_Signatory.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.

Definition at line 1397 of file Server.php.

Auth_OpenID_Signatory.invalidate ( assoc_handle,
dumb 
)

Invalidate a given association handle.

Definition at line 1425 of file Server.php.


Member Data Documentation

Auth_OpenID_Signatory.$SECRET_LIFETIME = 1209600

Definition at line 1301 of file Server.php.

Auth_OpenID_Signatory.$normal_key = 'http://localhost/|normal'

Definition at line 1307 of file Server.php.

Auth_OpenID_Signatory.$dumb_key = 'http://localhost/|dumb'

Definition at line 1308 of file Server.php.


The documentation for this class was generated from the following file:

Generated on Thu Feb 19 15:03:33 2009 for OXID eShop CE by  doxygen 1.5.5