Auth_OpenID_Signatory Class Reference

List of all members.

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'

Detailed Description

Definition at line 1298 of file Server.php.


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.

Referenced by Auth_OpenID_Server::Auth_OpenID_Server().

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

Make a new association.

Definition at line 1372 of file Server.php.

References $key, Auth_OpenID_getSecretSize(), Auth_OpenID_Association::fromExpiresIn(), and Auth_OpenID_CryptUtil::getBytes().

Referenced by sign().

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.

References $key.

Referenced by sign(), and verify().

Auth_OpenID_Signatory::invalidate ( assoc_handle,
dumb 
)

Invalidate a given association handle.

Definition at line 1425 of file Server.php.

References $key.

Referenced by sign().

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.

References createAssociation(), getAssociation(), and invalidate().

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.

References getAssociation().


Member Data Documentation

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

Definition at line 1308 of file Server.php.

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

Definition at line 1307 of file Server.php.

Auth_OpenID_Signatory::$SECRET_LIFETIME = 1209600

Definition at line 1301 of file Server.php.


The documentation for this class was generated from the following file:
Generated on Sat Jan 3 04:23:39 2009 for TYPO3 API by  doxygen 1.4.7