You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Leonard Breitkopf edited this page Aug 9, 2015
·
11 revisions
Authentication
You can choose to use no authentication by selecting anonymous or you can use the simple build-in X-Auth authentication system. You have to exchange a username and a signature for a bearer token.
Get token
You can get a token through a username and it's signature. The signature consists out of an HMAC SHA-256 hash of the username that has been signed with the password and encoded in base-64.
Request
POST /Authenticate
{"Username": "username", "Signature": "ZwoUe/TpignBFkY9/PCJ43vIo4PK62ydMKDRX2q4EMk="}
All requests need to be authorized with the bearer token you just generated on the /Authenticate endpoint. To authorize a request you simply add the Authorization header with the bearer token to the request.