ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
Auth_OpenID_Extension Class Reference
+ Inheritance diagram for Auth_OpenID_Extension:
+ Collaboration diagram for Auth_OpenID_Extension:

Public Member Functions

 getExtensionArgs ()
 Get the string arguments that should be added to an OpenID message for this extension.
 toMessage ($message)
 Add the arguments from this extension to the provided message.

Data Fields

 $ns_uri = null
 ns_uri: The namespace to which to add the arguments for this extension
 $ns_alias = null

Detailed Description

Definition at line 20 of file Extension.php.

Member Function Documentation

Auth_OpenID_Extension::getExtensionArgs ( )

Get the string arguments that should be added to an OpenID message for this extension.

Reimplemented in Auth_OpenID_AX_StoreResponse, Auth_OpenID_SRegResponse, Auth_OpenID_SRegRequest, Auth_OpenID_AX_FetchRequest, Auth_OpenID_PAPE_Response, and Auth_OpenID_PAPE_Request.

Definition at line 32 of file Extension.php.

Referenced by toMessage().

{
return null;
}

+ Here is the caller graph for this function:

Auth_OpenID_Extension::toMessage (   $message)

Add the arguments from this extension to the provided message.

Returns the message with the extension arguments added.

Definition at line 42 of file Extension.php.

References $ns_alias, and getExtensionArgs().

{
$implicit = $message->isOpenID1();
$added = $message->namespaces->addAlias($this->ns_uri,
$this->ns_alias,
$implicit);
if ($added === null) {
if ($message->namespaces->getAlias($this->ns_uri) !=
return null;
}
}
$message->updateArgs($this->ns_uri,
$this->getExtensionArgs());
return $message;
}

+ Here is the call graph for this function:

Field Documentation

Auth_OpenID_Extension::$ns_alias = null

Definition at line 26 of file Extension.php.

Referenced by toMessage().

Auth_OpenID_Extension::$ns_uri = null

ns_uri: The namespace to which to add the arguments for this extension

Definition at line 25 of file Extension.php.


The documentation for this class was generated from the following file: