Creates an authentication token for the currently authenticated user. Returns (Task containing the token and expiration)Exception Type: FailedOutcomeExceptionThrown when token generation fails
Overview of CreateAuthTokenForCurrentUserAsync goes here.
| Name | Description |
|---|
Example in C#
// Returns: AuthServiceResponse
var authServiceResponse = await client.CreateAuthTokenForCurrentUserAsync();
Example in CURL
curl -X POST \
https://api.us.acresecurity.cloud/api/management/authtoken/currentuser \
-H 'Authorization: Bearer TOKEN_GOES_HERE'