Definition at line 267 of file AX.php.
◆ add()
Auth_OpenID_AX_FetchRequest::add |
( |
|
$attribute | ) |
|
Add an attribute to this attribute exchange request.
- Parameters
-
attribute | The attribute that is being requested |
- Returns
- true on success, false when the requested attribute is already present in this fetch request.
Definition at line 294 of file AX.php.
◆ Auth_OpenID_AX_FetchRequest()
Auth_OpenID_AX_FetchRequest::Auth_OpenID_AX_FetchRequest |
( |
|
$update_url = null | ) |
|
requested_attributes: The attributes that have been requested thus far, indexed by the type URI.
update_url: A URL that will accept responses for this attribute exchange request, even in the absence of the user who made this request.
Definition at line 271 of file AX.php.
References $result, Auth_OpenID\arrayGet(), Auth_OpenID_AX_toTypeURIs(), Auth_OpenID_AX_UNLIMITED_VALUES, Auth_OpenID_OPENID_NS, Auth_OpenID\intval(), Auth_OpenID_AX\isError(), Auth_OpenID_AX_AttrInfo\make(), and Auth_OpenID_TrustRoot\match().
◆ contains()
Auth_OpenID_AX_FetchRequest::contains |
( |
|
$type_uri | ) |
|
Is the given type URI present in this fetch_request?
Definition at line 527 of file AX.php.
◆ fromOpenIDRequest()
static Auth_OpenID_AX_FetchRequest::fromOpenIDRequest |
( |
|
$request | ) |
|
|
static |
◆ getExtensionArgs()
Auth_OpenID_AX_FetchRequest::getExtensionArgs |
( |
| ) |
|
◆ getRequiredAttrs()
Auth_OpenID_AX_FetchRequest::getRequiredAttrs |
( |
| ) |
|
Get the type URIs for all attributes that have been marked as required.
- Returns
- A list of the type URIs for attributes that have been marked as required.
Definition at line 366 of file AX.php.
◆ iterAttrs()
Auth_OpenID_AX_FetchRequest::iterAttrs |
( |
| ) |
|
Iterate over the AttrInfo objects that are contained in this fetch_request.
Definition at line 514 of file AX.php.
◆ iterTypes()
Auth_OpenID_AX_FetchRequest::iterTypes |
( |
| ) |
|
◆ parseExtensionArgs()
Auth_OpenID_AX_FetchRequest::parseExtensionArgs |
( |
|
$ax_args | ) |
|
Given attribute exchange arguments, populate this FetchRequest.
- Returns
- $result 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.
Definition at line 431 of file AX.php.
◆ $mode
Auth_OpenID_AX_FetchRequest::$mode = 'fetch_request' |