diff options
author | tailor <cygnus@janrain.com> | 2006-07-24 21:02:18 +0000 |
---|---|---|
committer | tailor <cygnus@janrain.com> | 2006-07-24 21:02:18 +0000 |
commit | ae639607655af0acc38810cbb0ce2efc622bafc9 (patch) | |
tree | cff27daca9fed6d0e76515f260c9e60e9990212b /examples/consumer/try_auth.php | |
parent | e3adb8bc24019d456ae6582b66e43343f0ef7dd6 (diff) | |
download | php-openid-ae639607655af0acc38810cbb0ce2efc622bafc9.zip php-openid-ae639607655af0acc38810cbb0ce2efc622bafc9.tar.gz php-openid-ae639607655af0acc38810cbb0ce2efc622bafc9.tar.bz2 |
[project @ Updated example consumer to request sreg.email]
Diffstat (limited to 'examples/consumer/try_auth.php')
-rw-r--r-- | examples/consumer/try_auth.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/consumer/try_auth.php b/examples/consumer/try_auth.php index 7f1355f..f61b2f2 100644 --- a/examples/consumer/try_auth.php +++ b/examples/consumer/try_auth.php @@ -30,6 +30,8 @@ if (!$auth_request) { exit(0); } +$auth_request->addExtensionArg('sreg', 'optional', 'email'); + // Redirect the user to the OpenID server for authentication. Store // the token for this authentication so we can verify the response. |