|
TYPO3 API
SVNRelease
|
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' | |
Definition at line 1298 of file Server.php.
| 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::createAssociation | ( | $ | dumb = true, |
| $ | assoc_type = 'HMAC-SHA1' |
||
| ) |
Make a new association.
Definition at line 1372 of file Server.php.
References 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.
| Auth_OpenID_Signatory::invalidate | ( | $ | assoc_handle, |
| $ | dumb | ||
| ) |
Invalidate a given association handle.
Definition at line 1425 of file Server.php.
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().
| 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.
1.7.5.1