Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: OpenID

Developer Network License

The Joomla! Developer Network content is © copyright 2006 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5

 Class Auth_OpenID_Signatory

Description

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

Located in /openid/Auth/OpenID/Server.php (line 893)

Class Auth_OpenID_Signatory
Variable Summary
Method Summary
Constructor Auth_OpenID_Signatory Auth_OpenID_Signatory ( &$store)
Method void createAssociation ([ $dumb = true], [ $assoc_type = 'HMAC-SHA1'])
Method void getAssociation ( $assoc_handle,  $dumb)
Method void invalidate ( $assoc_handle,  $dumb)
Method void sign ( $response)
Method void verify ( $assoc_handle,  $sig,  $signed_pairs)
Variables
mixed $dumb_key = 'http://localhost/|dumb' (line 903)
mixed $normal_key = 'http://localhost/|normal' (line 902)
mixed $SECRET_LIFETIME = 1209600 (line 896)
Methods
Constructor Auth_OpenID_Signatory (line 908)

Create a new signatory using a given store.

Auth_OpenID_Signatory Auth_OpenID_Signatory ( &$store)
  • &$store
createAssociation (line 963)

Make a new association.

void createAssociation ([ $dumb = true], [ $assoc_type = 'HMAC-SHA1'])
  • $dumb
  • $assoc_type
getAssociation (line 986)

Given an association handle, get the association from the store, or return a ServerError or null if something goes wrong.

void getAssociation ( $assoc_handle,  $dumb)
  • $assoc_handle
  • $dumb
invalidate (line 1012)

Invalidate a given association handle.

void invalidate ( $assoc_handle,  $dumb)
  • $assoc_handle
  • $dumb
sign (line 936)

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

void sign ( $response)
  • $response
verify (line 918)

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

void verify ( $assoc_handle,  $sig,  $signed_pairs)
  • $assoc_handle
  • $sig
  • $signed_pairs

Documentation generated on Mon, 05 Mar 2007 21:21:15 +0000 by phpDocumentor 1.3.1