static void 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.
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'.
Parameters:
static void 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
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.
Parameters:
|
|
$success_response: |
|
|
|
$signed_only: |
|
Auth_OpenID_SRegResponse Auth_OpenID_SRegResponse(
[
$data = null], [
$sreg_ns_uri = Auth_OpenID_SREG_NS_URI]
)
|
|
Parameters:
void get(
$field_name, [
$default = null]
)
|
|
Parameters: