diff options
Diffstat (limited to 'plugins/openid/lib/Auth/OpenID/Extension.php')
-rw-r--r-- | plugins/openid/lib/Auth/OpenID/Extension.php | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/plugins/openid/lib/Auth/OpenID/Extension.php b/plugins/openid/lib/Auth/OpenID/Extension.php index 542a1da2..61d2f375 100644 --- a/plugins/openid/lib/Auth/OpenID/Extension.php +++ b/plugins/openid/lib/Auth/OpenID/Extension.php @@ -22,14 +22,17 @@ class Auth_OpenID_Extension { * ns_uri: The namespace to which to add the arguments for this * extension */ - var $ns_uri = null; - var $ns_alias = null; + public $ns_uri = null; + public $ns_alias = null; /** * Get the string arguments that should be added to an OpenID * message for this extension. + * + * @param Auth_OpenID_Request|null $request + * @return null */ - function getExtensionArgs() + function getExtensionArgs($request = null) { return null; } @@ -38,6 +41,10 @@ class Auth_OpenID_Extension { * Add the arguments from this extension to the provided message. * * Returns the message with the extension arguments added. + * + * @param Auth_OpenID_Message $message + * @param Auth_OpenID_Request $request + * @return null */ function toMessage($message, $request = null) { |