Services/Sync/WEP/110: Difference between revisions

Line 53: Line 53:
     "password":
     "password":
     {
     {
      path: "/pwchange",
      method: "POST",
      params:
      {
        userName: "usr",
        oldPassword: "pwd1",
        newPassword: "pwd2"
      }
     }
     }
   }
   }
Line 59: Line 67:
The identity JSON object MUST contain the <tt>domain</tt> and <tt>methods</tt> properties. The <tt>domain</tt> property MUST match both the domain which hosts the identity JSON object as well as the page that contained the <tt><link rel></tt> pointing to it.
The identity JSON object MUST contain the <tt>domain</tt> and <tt>methods</tt> properties. The <tt>domain</tt> property MUST match both the domain which hosts the identity JSON object as well as the page that contained the <tt><link rel></tt> pointing to it.


The <tt>methods</tt> property MUST contain at a minimum the <tt>login</tt> property and MAY contain additional <tt>register</tt> and <tt>password</tt> properties.
The <tt>methods</tt> property MUST contain at a minimum the <tt>login</tt> property and MAY contain additional <tt>register</tt> and <tt>password</tt> properties. Each of these properties, if present, MUST contain a single "Form Definition Object", which is described as follows.
 
A Form Definition Object (FDO) describes the fields usually present in a standard HTML form and provides information on where and how to submit it in order to execute an action (currently, one of "register", "login" or "password" change).


=== Function  ===
=== Function  ===
Confirmed users
188

edits