public async Task<bool> RevokeTokenAsync(CancellationToken taskCancellationToken)
{
TokenResponse userToken = await ActiveUserConfig.GetActiveUserToken(taskCancellationToken);
await flow.RevokeTokenAsync("userId", userToken.AccessToken, taskCancellationToken).ConfigureAwait(false);
// We don't set the token to null, cause we want that the next request (without reauthorizing) will fail).
return true;
}
}