Nat Sakimura avatar Nat Sakimura committed fbe4025

Changed most ns to class_id. Separated assertion to positive and negative. Negative still needs to be done.

Comments (0)

Files changed (1)

openid-artifact-binding.xml

   <?rfc private="Draft" ?>
 
   <front>
-    <title>OpenID Artifact Binding 1.0 - Draft11</title>
+    <title>OpenID Artifact Binding 1.0 - Draft12</title>
 
     <author fullname="openid-specs-ab@openid.net" initials=""
             surname="openid-specs-ab@openid.net">
               in <xref target="OpenID.authentication-2.0" />. This namespace
               SHOULD be listed as an &lt;xrd:Type&gt; child element of the
               &lt;xrd:Service&gt; element in the XRDS discovery document.</t>
+
+          <t>class_id <list style="empty">
+              <t>Value: The URL that expresses the class of the JSON message.
+              </t>
+            </list></t>
+
+          <t>instance_id <list style="empty">
+              <t>Value: Value of type xs:string that identifies the instance
+              of the JSON message.</t>
             </list></t>
 
           <t>mode <list style="empty">
 
         <t>Following is a non-normative example. <figure>
             <artwork><![CDATA[{
-    "ns":"http://openid.net/specs/ab/1.0",
+    "class_id":"http://openid.net/specs/ab/1.0#req",
     "mode":"direct_req",
     "redirect_url":"https://example.com/rp/endpoint_url"
 }
         <t>Following is the list of variables to be sent:</t>
 
         <t><list style="symbols">
-            <t>ns - "http://openid.net/specs/ab/1.0"</t>
+            <t>class_id - "http://openid.net/specs/ab/1.0#req"</t>
 
             <t>immediate - (OPTIONAL) "True" or "False". Default is
             "False".</t>
         <t>
           <figure>
             <artwork><![CDATA[{
-    "ns":"http://openid.net/specs/ab/1.0",
+    "class_id":"http://openid.net/specs/ab/1.0#req",
     "immediate":"true",
     "redirect_url":"https://example.com/rp/endpoint_url",
     "cliend_id":"http://example.com/rp/",
         <t>Following is the list of variables to be included:</t>
 
         <t><list style="symbols">
-            <t>ns - "http://openid.net/specs/ab/1.0"</t>
+            <t>class_id - "http://openid.net/specs/ab/1.0#id_res"</t>
 
             <t>mode - "id_res"</t>
 
         <t>
           <figure>
             <artwork><![CDATA[{
-    "ns":"http://openid.net/specs/ab/1.0",
+    "class_id":"http://openid.net/specs/ab/1.0#id_res",
     "mode":"id_res",
     "op_endpoint":"https://op.example.com/op_endpoint",
     "client_id":"http://rp.example.com/",
                 <t>Value: A URL from which one can retrieve PEM format X.509
                 certificate. It is used as the replacement of "keyhash"</t>
               </list></t>
+
+            <t>class_id <list style="empty">
+                <t>Value: "http://openid.net/specs/ab/1.0#signed_format"</t>
+              </list></t>
           </list>
         </t>
 
         <t>
           <figure>
             <artwork><![CDATA[{
-    "object_type":"http://jsonenc.info/json-encryption/",
+    "class_id":"http://jsonenc.info/json-encryption/1.0/",
     "data_type":"http://openid.net/specs/ab/1.0#openid2json-enc",
     "enc_data":"b5guwzFgvrIUd7XcXI0bAFrg-....O69VKhY",
     "enc_type_asy":"http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p",
 
         <t>
           <list style="symbols">
-            <t>ns - "http://openid.net/specs/ab/1.0"</t>
+            <t>class_id - "http://openid.net/specs/ab/1.0#req"</t>
 
             <t>mode - "direct_req"</t>
 
         <t>
           <figure>
             <artwork><![CDATA[{
-    "ns":"http://openid.net/specs/ab/1.0",
+    "class_id":"http://openid.net/specs/ab/1.0#req",
     "mode":"direct_req",
     "client_id":"http://example.com/rp/",
     "claimed_id":"http://specs.openid.net/auth/2.0/identifier_select",
 
         <t>When an OP proveds the Request File registration service, it SHOULD
         publish the registration endpoint in the XRDS where the &lt;Type&gt;
-        is "http://openid.net/specs/ab/1.0/request_regist".</t>
+        is "http://openid.net/specs/ab/1.0#request_regist".</t>
 
         <t>To register the Request File, the following parameters are sent as
         HTTPS POST request to the OP in <xref target="http_encoding">HTTP Form
 
         <t>
           <list style="symbols">
-            <t>ns - "http://openid.net/specs/ab/1.0"</t>
+            <t>class_id - "http://openid.net/specs/ab/1.0#req_req_res"</t>
 
             <t>mode - "req_reg_res"</t>
 
         <t>
           <figure>
             <artwork><![CDATA[{
-    "ns":"http://openid.net/specs/ab/1.0",
+    "class_id":"http://openid.net/specs/ab/1.0#req_req_res",
     "mode":"req_reg_res",
     "request_url":"http://example.com/op/request_url_wfjdokaosidu"
 }
         <t>
           <figure>
             <artwork><![CDATA[HTTP/1.1 302 Found
-Location: https://rp.example.com/rp.php?mode=art_req&request_file=https://rp.example.com/rf.js%23Qfsoe2F
+Location: https://rp.example.com/rp.php?mode=art_req&request_url=https://rp.example.com/rf.js%23Qfsoe2F
 ]]></artwork>
           </figure>
         </t>
         Positive or Negative Assertion that corresponds to the received
         Artifact "code".</t>
 
-        <t>Positive Assertion can only be returned onece for the artifact and
-        contains the following variables.</t>
+        <section title="Positive Assertion">
+          <t>Positive Assertion can only be returned once for the artifact and
+          contains the following variables.</t>
 
-        <t><list style="symbols">
-            <t>ns - "http://openid.net/specs/ab/1.0"</t>
+          <t><list style="symbols">
+              <t>class_id - "http://openid.net/specs/ab/1.0#id_res"</t>
 
-            <t>mode - "id_res"</t>
+              <t>mode - "id_res"</t>
 
-            <t>server_id - The identifier of the OP.</t>
+              <t>server_id - The identifier of the OP.</t>
 
-            <t>pubkey - The OP's certificate without private key.</t>
+              <t>pubkey - The OP's certificate without private key.</t>
 
-            <t>request_file - The exact request_file URL that the OP received
-            from the RP.</t>
+              <t>request_url - The exact request_url URL that the OP received
+              from the RP.</t>
 
-            <t>op_endpoint - The OP Endpoint URL.</t>
+              <t>op_endpoint - The OP Endpoint URL.</t>
 
-            <t>claimed_id - The claimed_id that the OP recognizes as linked to
-            the Local ID, "identity".</t>
+              <t>claimed_id - The claimed_id that the OP recognizes as linked
+              to the Local ID, "identity".</t>
 
-            <t>identity - The Local ID that was verified by the OP.</t>
+              <t>identity - The Local ID that was verified by the OP.</t>
 
-            <t>cileint_id - The identifier of the requesting RP that OP
-            recognized.</t>
-          </list>Any other variables can be added.</t>
+              <t>cileint_id - The identifier of the requesting RP that OP
+              recognized.</t>
+            </list>Any other variables can be added.</t>
 
-        <t>It MUST be formatted in the JSON or JSONP format depending on the
-        atype in the request.</t>
+          <t>It MUST be formatted in the JSON or JSONP format depending on the
+          atype in the request.</t>
 
-        <t>Following is an example of an assertion.</t>
+          <t>Following is an example of an assertion.</t>
 
-        <t>
-          <figure>
-            <artwork><![CDATA[{
-  "ns":"http://openid.net/specs/ab/1.0",
+          <t>
+            <figure>
+              <artwork><![CDATA[{
+  "class_id":"http://openid.net/specs/ab/1.0#id_res",
   "mode":"id_res",
   "server_id":"https://op.example.com/",
   "pubkey":"CSqGSIb3DQEBBQUAA4GBAINkPb8yoD2Pcb08ZT22WLTnPvcztaqovGW2gaidAyq6", 
-  "request_file":"https://rp.example.com/rf.js%23Qfsoe2F",
+  "request_url":"https://rp.example.com/rf.js%23Qfsoe2F",
   "op_endpoint":"https://op.example.com/op_endpoint",
   "claimed_id":"https://example.com/alice#1234",
   "identity":"alice", 
   "client_id":"https://rp.example.com/"
 }]]></artwork>
-          </figure>
-        </t>
+            </figure>
+
+            
+          </t>
+        </section>
+
+        <section title="Negative Assertion">
+          <t>If error occurs, such as the 'code' supplied was invalid, then
+          negative assertion is returned with the following variables: </t>
+
+          <t>[TODO]</t>
+        </section>
       </section>
 
       <section anchor="veri" title="Verifying Assertion">
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.