summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortailor <cygnus@janrain.com>2007-04-03 21:07:08 +0000
committertailor <cygnus@janrain.com>2007-04-03 21:07:08 +0000
commitebc98faa2b67b5cd89213fac3c07ade1acca4ea4 (patch)
tree04c21f1f07c281a295100f8cd1f1032879a7cf91
parentecac3cae8cf71cf208ea8914a5f27bc036ce011a (diff)
downloadphp-openid-ebc98faa2b67b5cd89213fac3c07ade1acca4ea4.zip
php-openid-ebc98faa2b67b5cd89213fac3c07ade1acca4ea4.tar.gz
php-openid-ebc98faa2b67b5cd89213fac3c07ade1acca4ea4.tar.bz2
[project @ Add Auth_OpenID_AuthRequest::getMessage docstring]
-rw-r--r--Auth/OpenID/Consumer.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/Auth/OpenID/Consumer.php b/Auth/OpenID/Consumer.php
index 406a255..db285e2 100644
--- a/Auth/OpenID/Consumer.php
+++ b/Auth/OpenID/Consumer.php
@@ -1679,8 +1679,24 @@ class Auth_OpenID_AuthRequest {
}
/**
+ * Produce a {@link Auth_OpenID_Message} representing this
+ * request.
+ *
+ * @param string $realm The URL (or URL pattern) that identifies
+ * your web site to the user when she is authorizing it.
+ *
+ * @param string $return_to The URL that the OpenID provider will
+ * send the user back to after attempting to verify her identity.
+ *
* Not specifying a return_to URL means that the user will not be
* returned to the site issuing the request upon its completion.
+ *
+ * @param bool $immediate If true, the OpenID provider is to send
+ * back a response immediately, useful for behind-the-scenes
+ * authentication attempts. Otherwise the OpenID provider may
+ * engage the user before providing a response. This is the
+ * default case, as the user may need to provide credentials or
+ * approve the request before a positive response can be sent.
*/
function getMessage($realm, $return_to=null, $immediate=false)
{