ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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. More...
 
 toMessage ($message)
 Add the arguments from this extension to the provided message. More...
 

Data Fields

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

Detailed Description

Definition at line 20 of file Extension.php.

Member Function Documentation

◆ getExtensionArgs()

Auth_OpenID_Extension::getExtensionArgs ( )

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

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

Definition at line 32 of file Extension.php.

33 {
34 return null;
35 }

Referenced by toMessage().

+ Here is the caller graph for this function:

◆ toMessage()

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.

43 {
44 $implicit = $message->isOpenID1();
45 $added = $message->namespaces->addAlias($this->ns_uri,
46 $this->ns_alias,
47 $implicit);
48
49 if ($added === null) {
50 if ($message->namespaces->getAlias($this->ns_uri) !=
51 $this->ns_alias) {
52 return null;
53 }
54 }
55
56 $message->updateArgs($this->ns_uri,
57 $this->getExtensionArgs());
58 return $message;
59 }
getExtensionArgs()
Get the string arguments that should be added to an OpenID message for this extension.
Definition: Extension.php:32

References getExtensionArgs().

+ Here is the call graph for this function:

Field Documentation

◆ $ns_alias

Auth_OpenID_Extension::$ns_alias = null

Definition at line 26 of file Extension.php.

◆ $ns_uri

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: