User Tools

Site Tools


====== Testing the user's credentials ====== If a user is already registered to the service and wants just to log in with a third party application, this interface can be used to check whether the credentials are valid and the user is allowed to use the service. By sending just the //nonce//, aid, //user// and hash //h//, this job can be done. ===== Authentication required ===== Yes, please take a look at [[version_2:authentication|Authentication]]. To keep it simple, only the //data// parameter is mentioned on this page, but keep in mind that the other parameters are also necessary. ===== Response ===== JSON ===== Method ===== GET ===== Resource URL ===== ===== Parameters ===== The JSON object //data// is not necessary here since there is no need to transfer any parameters. ===== Example ===== ==== Request ==== <code js-script> data={ } </code> or do not transfer //data// at all. ==== Response ==== <code js-script> { "APIVersion":2, "result":1 } </code> In case of an error, a different response is sent. Please take a look at [[version_2:errors|Error Responses]].

version_2/get_testcredentials.txt · Last modified: 01.05.2016 21:57 (external edit)