PHP Class Auth_OpenID_SRegResponse

Inheritance: extends Auth_OpenID_SRegBase
ファイルを表示 Open project: openid/php-openid Class Usage Examples

Public Properties

Property Type Description
$ns_alias

Public Methods

Method Description
__construct ( $data = null, $sreg_ns_uri = Auth_OpenID_SREG_NS_URI )
contents ( )
extractResponse ( $request, $data ) Take a C{L{SRegRequest}} and a dictionary of simple registration values and create a C{L{SRegResponse}} object containing that data.
fromSuccessResponse ( $success_response, $signed_only = true ) Create a C{L{SRegResponse}} object from a successful OpenID library response (C{L{openid.consumer.consumer.SuccessResponse}}) response message
get ( $field_name, $default = null ) Read-only dictionary interface
getExtensionArgs ( )

Method Details

__construct() public method

public __construct ( $data = null, $sreg_ns_uri = Auth_OpenID_SREG_NS_URI )

contents() public method

public contents ( )

extractResponse() static public method

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'.
static public extractResponse ( $request, $data )

fromSuccessResponse() static public method

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.
static public fromSuccessResponse ( $success_response, $signed_only = true )

get() public method

Read-only dictionary interface
public get ( $field_name, $default = null )

getExtensionArgs() public method

public getExtensionArgs ( )

Property Details

$ns_alias public_oe property

public $ns_alias