summaryrefslogtreecommitdiffstats
path: root/examples/consumer/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'examples/consumer/index.html')
-rw-r--r--examples/consumer/index.html51
1 files changed, 51 insertions, 0 deletions
diff --git a/examples/consumer/index.html b/examples/consumer/index.html
new file mode 100644
index 0000000..9b5c44c
--- /dev/null
+++ b/examples/consumer/index.html
@@ -0,0 +1,51 @@
+<html>
+ <head><title>PHP OpenID Authentication Example</title></head>
+ <style type="text/css">
+ * {
+ font-family: verdana,sans-serif;
+ }
+ body {
+ width: 50em;
+ margin: 1em;
+ }
+ div {
+ padding: .5em;
+ }
+ table {
+ margin: none;
+ padding: none;
+ }
+ .alert {
+ border: 1px solid #e7dc2b;
+ background: #fff888;
+ }
+ .error {
+ border: 1px solid #ff0000;
+ background: #ffaaaa;
+ }
+ #verify-form {
+ border: 1px solid #777777;
+ background: #dddddd;
+ margin-top: 1em;
+ padding-bottom: 0em;
+ }
+ </style>
+ <body>
+ <h1>PHP OpenID Authentication Example</h1>
+ <p>
+ This example consumer uses the <a
+ href="http://www.openidenabled.com/openid/libraries/php/">PHP
+ OpenID</a> library. It just verifies that the URL that you enter
+ is your identity URL.
+ </p>
+
+ <div id="verify-form">
+ <form method="get" action="try_auth.php">
+ Identity&nbsp;URL:
+ <input type="hidden" name="action" value="verify" />
+ <input type="text" name="openid_url" value="" />
+ <input type="submit" value="Verify" />
+ </form>
+ </div>
+ </body>
+</html>