Class Auth_OpenID_AX_FetchRequest
An attribute exchange 'fetch_request' message. This message is sent
by a relying party when it wishes to obtain attributes about the
subject of an OpenID authentication request.
-
Auth_OpenID_Extension
-
Auth_OpenID_AX_Message
-
Auth_OpenID_AX_FetchRequest
Methods summary
public
|
|
public
true
|
#
add( attribute: $attribute )
Add an attribute to this attribute exchange request.
Add an attribute to this attribute exchange request.
Parameters
- $attribute
- attribute that is being requested
Returns
true on success, false when the requested attribute is
already present in this fetch request.
|
public
Auth_OpenID_AX_FetchRequest
|
#
getExtensionArgs( )
Get the serialized form of this attribute fetch request.
Get the serialized form of this attribute fetch request.
Returns
Overrides
|
public
A
|
#
getRequiredAttrs( )
Get the type URIs for all attributes that have been marked as
required.
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.
|
public static
|
#
fromOpenIDRequest( request: $request )
Extract a FetchRequest from an OpenID message
Extract a FetchRequest from an OpenID message
Parameters
- $request
OpenID request containing the attribute
fetch request
Returns
mixed An Auth_OpenID_AX_Error or the
Auth_OpenID_AX_FetchRequest extracted from the request message if
successful
|
public
|
#
parseExtensionArgs( $ax_args )
Given attribute exchange arguments, populate this FetchRequest.
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.
|
public
|
#
iterAttrs( )
Iterate over the AttrInfo objects that are contained in this
fetch_request.
Iterate over the AttrInfo objects that are contained in this
fetch_request.
|
public
|
|
public
|
#
contains( $type_uri )
Is the given type URI present in this fetch_request?
Is the given type URI present in this fetch_request?
|
Properties summary
public
string
|
$mode
mode: The type of this attribute exchange message. This must be
overridden in subclasses.
mode: The type of this attribute exchange message. This must be
overridden in subclasses.
|
|