PHP Class Auth_OpenID_AX_FetchRequest

Inheritance: extends Auth_OpenID_AX_Message
Show file Open project: openid/php-openid Class Usage Examples

Public Properties

Property Type Description
$mode

Public Methods

Method Description
__construct ( $update_url = null )
add ( $attribute ) : true Add an attribute to this attribute exchange request.
contains ( $type_uri ) Is the given type URI present in this fetch_request?
fromOpenIDRequest ( $request ) Extract a FetchRequest from an OpenID message
getExtensionArgs ( ) Get the serialized form of this attribute fetch request.
getRequiredAttrs ( ) : A Get the type URIs for all attributes that have been marked as required.
iterAttrs ( ) Iterate over the AttrInfo objects that are contained in this fetch_request.
iterTypes ( )
parseExtensionArgs ( $ax_args ) Given attribute exchange arguments, populate this FetchRequest.

Method Details

__construct() public method

public __construct ( $update_url = null )

add() public method

Add an attribute to this attribute exchange request.
public add ( $attribute ) : true
return true on success, false when the requested attribute is already present in this fetch request.

contains() public method

Is the given type URI present in this fetch_request?
public contains ( $type_uri )

fromOpenIDRequest() static public method

Extract a FetchRequest from an OpenID message
static public fromOpenIDRequest ( $request )

getExtensionArgs() public method

Get the serialized form of this attribute fetch request.
public getExtensionArgs ( )

getRequiredAttrs() public method

Get the type URIs for all attributes that have been marked as required.
public getRequiredAttrs ( ) : A
return A list of the type URIs for attributes that have been marked as required.

iterAttrs() public method

Iterate over the AttrInfo objects that are contained in this fetch_request.
public iterAttrs ( )

iterTypes() public method

public iterTypes ( )

parseExtensionArgs() public method

Given attribute exchange arguments, populate this FetchRequest.
public parseExtensionArgs ( $ax_args )

Property Details

$mode public property

public $mode