static mixed fromOpenIDRequest(
request:
$request
)
|
|
Extract a FetchRequest from an OpenID message
Parameters:
|
request: |
$request: |
The OpenID request containing the attribute fetch request |
API Tags:
| Return: | An Auth_OpenID_AX_Error or the Auth_OpenID_AX_FetchRequest extracted from the request message if successful |
Auth_OpenID_AX_FetchRequest Auth_OpenID_AX_FetchRequest(
[
$update_url = null]
)
|
|
Parameters:
true add(
attribute:
$attribute
)
|
|
Add an attribute to this attribute exchange request.
Parameters:
|
attribute: |
$attribute: |
The attribute that is being requested |
API Tags:
| Return: | on success, false when the requested attribute is already present in this fetch request. |
void contains(
$type_uri
)
|
|
Is the given type URI present in this fetch_request?
Parameters:
Get the serialized form of this attribute fetch request.
API Tags:
| Return: | The fetch request message parameters |
Redefinition of:
- Auth_OpenID_Extension::getExtensionArgs()
- Get the string arguments that should be added to an OpenID message for this extension.
Get the type URIs for all attributes that have been marked as required.
API Tags:
| Return: | list of the type URIs for attributes that have been marked as required. |
Iterate over the AttrInfo objects that are contained in this fetch_request.
$result parseExtensionArgs(
$ax_args
)
|
|
Given attribute exchange arguments, populate this FetchRequest.
Parameters:
API Tags:
| Return: | Auth_OpenID_AX_Error if the data to be parsed does not follow the attribute exchange specification. At least when 'if_available' or 'required' is not specified for a particular attribute type. Returns true otherwise. |