TYPO3 CMS  TYPO3_6-2
Auth_OpenID_SRegResponse Class Reference
Inheritance diagram for Auth_OpenID_SRegResponse:
Auth_OpenID_SRegBase Auth_OpenID_Extension

Public Member Functions

 Auth_OpenID_SRegResponse ($data=null, $sreg_ns_uri=Auth_OpenID_SREG_NS_URI)
 
 getExtensionArgs ()
 
 get ($field_name, $default=null)
 
 contents ()
 
- Public Member Functions inherited from Auth_OpenID_Extension
 getExtensionArgs ()
 
 toMessage ($message, $request=null)
 

Static Public Member Functions

static extractResponse ($request, $data)
 
static fromSuccessResponse ($success_response, $signed_only=true)
 
- Static Public Member Functions inherited from Auth_OpenID_SRegBase
static _getSRegNS ($message)
 

Public Attributes

 $ns_alias = 'sreg'
 
- Public Attributes inherited from Auth_OpenID_Extension
 $ns_uri = null
 
 $ns_alias = null
 

Detailed Description

Definition at line 417 of file SReg.php.

Member Function Documentation

◆ Auth_OpenID_SRegResponse()

Auth_OpenID_SRegResponse::Auth_OpenID_SRegResponse (   $data = null,
  $sreg_ns_uri = Auth_OpenID_SREG_NS_URI 
)

Definition at line 421 of file SReg.php.

◆ contents()

Auth_OpenID_SRegResponse::contents ( )

Definition at line 515 of file SReg.php.

◆ extractResponse()

static Auth_OpenID_SRegResponse::extractResponse (   $request,
  $data 
)
static

Take a C{L{SRegRequest}} and a dictionary of simple registration values and create a C{L{SRegResponse}} object containing that data.

request: The simple registration request object

data: The simple registration data for this response, as a dictionary from unqualified simple registration field name to string (unicode) value. For instance, the nickname should be stored under the key 'nickname'.

Definition at line 445 of file SReg.php.

References Auth_OpenID\arrayGet().

◆ fromSuccessResponse()

static Auth_OpenID_SRegResponse::fromSuccessResponse (   $success_response,
  $signed_only = true 
)
static

Create a C{L{SRegResponse}} object from a successful OpenID library response (C{L{openid.consumer.consumer.SuccessResponse}}) response message

success_response: A SuccessResponse from consumer.complete()

signed_only: Whether to process only data that was signed in the id_res message from the server.

Returns a simple registration response containing the data that was supplied with the C{id_res} response.

Definition at line 474 of file SReg.php.

References $Auth_OpenID_sreg_data_fields, and Auth_OpenID\isFailure().

◆ get()

Auth_OpenID_SRegResponse::get (   $field_name,
  $default = null 
)

Definition at line 506 of file SReg.php.

References Auth_OpenID\arrayGet(), and Auth_OpenID_checkFieldName().

◆ getExtensionArgs()

Auth_OpenID_SRegResponse::getExtensionArgs ( )

Definition at line 500 of file SReg.php.

Member Data Documentation

◆ $ns_alias

Auth_OpenID_SRegResponse::$ns_alias = 'sreg'

Definition at line 419 of file SReg.php.