Six Apart Developer Center

Developer Center Home » Product Documentation » LiveJournal »

LJ.XMLRPC.getchallenge

Posted by Byrne Reese on March 3, 2006

Generate a one-time, quick expiration challenge to be used in challenge/response authentication methods.

Request Parameters

None.

Return Types

A struct containing the keys:

  • auth_scheme - You can ignore this for now. By default this is the highest version of our authentication schemes, if in the future if we implement other auth schemes or change the default. In that case we'd add a new capabilities exchange: your client could say, "I know c0 and c1", and our server would then say, "Use c1, it's the best."
  • challenge - An opaque cookie to generate a hashed response from.
  • expire_time - The expiration time of the challenge, as measured in seconds since the Unix epoch.
  • server_time - The server time when the challenge was generated, as measured in seconds since the Unix epoch.

Sample Request

Sample Response

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

Six Apart
Makers of weblog software and services for individuals, organizations and businesses.
This website is powered by Movable Type.