TYPO3 CMS  TYPO3_6-2
All Classes Namespaces Files Functions Variables Pages
Auth_OpenID_Signatory Class Reference

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 1299 of file Server.php.

Member Function Documentation

◆ Auth_OpenID_Signatory()

Auth_OpenID_Signatory::Auth_OpenID_Signatory (   $store)

Create a new signatory using a given store.

Definition at line 1314 of file Server.php.

◆ createAssociation()

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

Make a new association.

Definition at line 1373 of file Server.php.

References Auth_OpenID_getSecretSize(), Auth_OpenID_Association\fromExpiresIn(), and Auth_OpenID_CryptUtil\getBytes().

◆ getAssociation()

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 1398 of file Server.php.

References Auth_OpenID_ServerError\Auth_OpenID_ServerError().

◆ invalidate()

Auth_OpenID_Signatory::invalidate (   $assoc_handle,
  $dumb 
)

Invalidate a given association handle.

Definition at line 1426 of file Server.php.

◆ 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 1340 of file Server.php.

References Auth_OpenID_OPENID_NS.

◆ verify()

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 1324 of file Server.php.

Member Data Documentation

◆ $dumb_key

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

Definition at line 1309 of file Server.php.

◆ $normal_key

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

Definition at line 1308 of file Server.php.

◆ $SECRET_LIFETIME

Auth_OpenID_Signatory::$SECRET_LIFETIME = 1209600

Definition at line 1302 of file Server.php.