CreateAuthTokenForCurrentUserAsync

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

Create Auth Token For Current User Async

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'