![]() |
C# Client Library
A C# Client Library for the AnalyzeRe REST API
|
Machine-to-Machene authorization workflow. More...
Public Member Functions | |
MachineToMachineAuth (string clientId, string secret, string scope, string authEndpoint) | |
Machine-to-machine authorization workflow. | |
async Task< bool > | Authorize () |
Sets AccessToken and returns true if authorization was successful. Otherwise, it sets ErrorDescription. | |
Properties | |
BearerAuthenticationToken | AccessToken [get] |
If Authorize() returns true then this property contains a new access token. | |
string | ErrorDescription [get] |
If Authorize() returns false then this property contains an error message. | |
Machine-to-Machene authorization workflow.
Definition at line 11 of file MachineToMachineAuth.cs.
|
inline |
Machine-to-machine authorization workflow.
clientId | Provided by Customer Success team. |
secret | Provided by Customer Success team. |
scope | Provided by Customer Success team. |
authEndpoint | Provided by Customer Success team. |
Definition at line 38 of file MachineToMachineAuth.cs.
|
inline |
Sets AccessToken and returns true if authorization was successful. Otherwise, it sets ErrorDescription.
Definition at line 49 of file MachineToMachineAuth.cs.
|
get |
If Authorize() returns true then this property contains a new access token.
Definition at line 16 of file MachineToMachineAuth.cs.
|
get |
If Authorize() returns false then this property contains an error message.
Definition at line 21 of file MachineToMachineAuth.cs.