public string Authenticate() { try { return(_client.V1AuthenticateAsync().Result.Token1); } catch (Exception e) { _log?.LogError(0, e, "An error has occured while trying to generate an application session token."); throw; } }