diff options
author | tailor <cygnus@janrain.com> | 2006-01-25 00:10:46 +0000 |
---|---|---|
committer | tailor <cygnus@janrain.com> | 2006-01-25 00:10:46 +0000 |
commit | 9819c97212289ddbff1dc4ba377bb2af648253b5 (patch) | |
tree | 0fbcde693da4524498b0d1557108b4840c5b9cca /examples | |
parent | 42c8b4b2cf9aa20d30a1056ee5715c19b5bdb728 (diff) | |
download | php-openid-9819c97212289ddbff1dc4ba377bb2af648253b5.zip php-openid-9819c97212289ddbff1dc4ba377bb2af648253b5.tar.gz php-openid-9819c97212289ddbff1dc4ba377bb2af648253b5.tar.bz2 |
[project @ Added consumer example README file]
Diffstat (limited to 'examples')
-rw-r--r-- | examples/README | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/examples/README b/examples/README new file mode 100644 index 0000000..5fb79d1 --- /dev/null +++ b/examples/README @@ -0,0 +1,26 @@ +OpenID Example Code +------------------- + +To try the example consumer implementation (which is probably what you +want), just copy the consumer/ directory into a place on your web +server and point your browser at the new directory. (Be sure that the +'Auth' directory included in this package is installed in your PHP +include_path.) + +The 'index.php' file will render a form and get you started. These +are the example consumer files: + + consumer/index.php - Renders a form so you can begin the OpenID auth +process. The form submits the OpenID to try_auth.php. + + consumer/try_auth.php - Starts the authentication with the OpenID +server that manages your OpenID and redirects your browser to the +server's login page. Instructs the server to return to +finish_auth.php when you're done authenticating. + + consumer/finish_auth.php - Finishes the authentication by checking +the server's response. Tells you if the authentication was +successful. + + consumer/common.php - Includes the setup code you'll need to create +a Consumer object and participate in an OpenID authentication. |