post
https://api/Auth
Supply your client credentials in a basic authentication header
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
This endpoint can be used to return a token that will authenticate subsequent requests to the nFiniti API.
To call it you must pass your clientId and token as a base64 encoded string in the format "{clientId}:{cientsecret}"
var plainTextBytes = System.Text.Encoding.UTF8.GetBytes($"{clientId}:{clientSecret}");
var clientSecretEncoded = System.Convert.ToBase64String(plainTextBytes);
Pass the resulting code in the Authentication header
"authorization", $"Basic {clientSecretEncoded}"
