From afaa5c00def313b83a195557ab33a622da0d0ebc Mon Sep 17 00:00:00 2001
From: Lloyd Hilaiel <lloyd@hilaiel.com>
Date: Wed, 29 Jun 2011 22:42:55 -0600
Subject: [PATCH] say more about the 'audience' argument to the verifier is. 
 closes #44

---
 browserid/static/css/style.css   |  2 +-
 browserid/static/developers.html | 15 +++++++++++----
 2 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/browserid/static/css/style.css b/browserid/static/css/style.css
index 7ca81633f..3a2117c6e 100644
--- a/browserid/static/css/style.css
+++ b/browserid/static/css/style.css
@@ -174,7 +174,7 @@ a:hover {
     font-size: 14px;
 }
 
-.bottomhalf .step > p {
+.bottomhalf .step > p, .bottomhalf .step > ol {
     margin-left: 50px;
 }
 
diff --git a/browserid/static/developers.html b/browserid/static/developers.html
index 53218eb82..f3569d18d 100644
--- a/browserid/static/developers.html
+++ b/browserid/static/developers.html
@@ -56,7 +56,7 @@
       </p>
       <p>
         <b>NOTE:</b> While completely optional, you might consider
-        replacing your login/signin button with a pretty browserid button:
+        replacing your login/signin button with a pretty BrowserID button:
         
         <div class="buttonbox">
           <div><img src="i/sign_in_red.png"></div>
@@ -76,9 +76,16 @@
         free verification service provided by BrowserID.
       </p><p>
         To use it, you send a request
-        to <tt>https://browserid.org/verify</tt> with the assertion as
-        a GET parameter.
-
+        to <tt>https://browserid.org/verify</tt> with two GET parameters:
+      </p>
+        <ol>
+          <li> <tt>assertion</tt>: The encoded assertion
+          <li> <tt>audience</tt>: The hostname and optional port of your site
+        </ol>
+      <p>
+        The verifier will check the the assertion was meant for your site and
+        is valid, here's an example:
+      </p>
         <pre><code>$ curl "https://browserid.org/verify?assertion=&lt;ASSERTION&gt;&audience=mysite.com"
 {
     "status": "okay",
-- 
GitLab