Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
HTTP/1.1 400 Bad Request
AuthenticationURL: https://ssl.latest.deflaux-test.appspot.com/auth/v1/session
Content-Type: application/json
{"reason":"Unable to authenticate."}

Session token is valid for a period of time, currently set to 24 hours.

Refresh Token (reset timer)

Request:

Code Block

POST https://ssl.latest.deflaux-test.appspot.com/auth/v1/session/<sessionToken>

Successful Response:

Code Block

HTTP/1.1 200 OK

Error Response, if the session token is invalid:

Code Block

HTTP/1.1 400 Bad Request

Terminate Session (Logout)

...