TYPO3 API  SVNRelease
Public Member Functions | Public Attributes
Auth_OpenID_AX_FetchResponse Class Reference
Inheritance diagram for Auth_OpenID_AX_FetchResponse:
Inheritance graph
[legend]
Collaboration diagram for Auth_OpenID_AX_FetchResponse:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Auth_OpenID_AX_FetchResponse ($update_url=null)
 getExtensionArgs ($request=null)
 parseExtensionArgs ($ax_args)
 fromSuccessResponse ($success_response, $signed=true)

Public Attributes

 $mode = 'fetch_response'

Detailed Description

Definition at line 792 of file AX.php.


Member Function Documentation

Auth_OpenID_AX_FetchResponse::Auth_OpenID_AX_FetchResponse ( update_url = null)
Auth_OpenID_AX_FetchResponse::fromSuccessResponse ( success_response,
signed = true 
)

Construct a FetchResponse object from an OpenID library SuccessResponse object.

Parameters:
success_response,:A successful id_res response object
signed,:Whether non-signed args should be processsed. If True (the default), only signed arguments will be processsed.
Returns:
$response A FetchResponse containing the data from the OpenID message

Definition at line 924 of file AX.php.

References Auth_OpenID_AX_FetchResponse(), Auth_OpenID_AX\isError(), and Auth_OpenID\isFailure().

Auth_OpenID_AX_FetchResponse::getExtensionArgs ( request = null)

Serialize this object into arguments in the attribute exchange namespace

Returns:
$args The dictionary of unqualified attribute exchange arguments that represent this fetch_response, or Auth_OpenID_AX_Error on error.

Definition at line 809 of file AX.php.

References Auth_OpenID_AX_KeyValueMessage\_getExtensionKVArgs(), Auth_OpenID_AX_Message\_newArgs(), Auth_OpenID_AX_KeyValueMessage\count(), and Auth_OpenID\update().

Auth_OpenID_AX_FetchResponse::parseExtensionArgs ( ax_args)
Returns:
$result Auth_OpenID_AX_Error on failure or true on success.

Reimplemented from Auth_OpenID_AX_KeyValueMessage.

Definition at line 899 of file AX.php.

References Auth_OpenID\arrayGet(), and Auth_OpenID_AX\isError().


Member Data Documentation

Auth_OpenID_AX_FetchResponse::$mode = 'fetch_response'

mode: The type of this attribute exchange message. This must be overridden in subclasses.

Reimplemented from Auth_OpenID_AX_Message.

Definition at line 793 of file AX.php.


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