ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f870
All Data Structures Namespaces Files Functions Variables Modules 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. 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.

Definition at line 32 of file Extension.php.

Referenced by toMessage().

33  {
34  return null;
35  }
+ 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.

References $ns_alias, and getExtensionArgs().

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) !=
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
+ 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.

Referenced by toMessage().

◆ $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: