C# Client Library
A C# Client Library for the AnalyzeRe REST API
|
An AccessToken storing basic authentication information for requests made to the server. More...
Public Member Functions | |
BasicAuthenticationToken () | |
Instantiate a new BasicAuthenticationToken. | |
BasicAuthenticationToken (string username, string password) | |
Instantiate a new BasicAuthenticationToken with supplied username and password parameters supplied. | |
void | GenerateAccessToken (string token_username, string token_password) |
Provide basic authentication credentials so the user can log in. | |
override string | ToString () |
Returns the representation of this access token that could be placed in an "Authorization" header. | |
Properties | |
string | access_token [get, set] |
The AccessToken identifier. | |
string | AuthorizationMethod [get] |
The Authorization Method included in the Authorization header. | |
SecureString | password [get] |
The password associated with this authentication token. | |
AccessTokenStatus | status = AccessTokenStatus.Unknown [get, set] |
The AccessToken's current AccessTokenStatus (unauthorized / valid). | |
string | username [get] |
The username associated with this authentication token. | |
An AccessToken storing basic authentication information for requests made to the server.
Definition at line 11 of file BasicAuthenticationToken.cs.
|
inline |
Instantiate a new BasicAuthenticationToken.
Definition at line 29 of file BasicAuthenticationToken.cs.
|
inline |
Instantiate a new BasicAuthenticationToken with supplied username and password parameters supplied.
username | The username |
password | The password |
Definition at line 35 of file BasicAuthenticationToken.cs.
|
inline |
Provide basic authentication credentials so the user can log in.
token_username | The username |
token_password | The password |
Definition at line 43 of file BasicAuthenticationToken.cs.
override string AnalyzeRe.Authentication.BasicAuthenticationToken.ToString | ( | ) |
Returns the representation of this access token that could be placed in an "Authorization" header.
|
getset |
The AccessToken identifier.
Implements AnalyzeRe.Authentication.IAccessToken.
Definition at line 20 of file BasicAuthenticationToken.cs.
|
get |
The Authorization Method included in the Authorization header.
Implements AnalyzeRe.Authentication.IAccessToken.
Definition at line 14 of file BasicAuthenticationToken.cs.
|
get |
The password associated with this authentication token.
Definition at line 26 of file BasicAuthenticationToken.cs.
|
getset |
The AccessToken's current AccessTokenStatus (unauthorized / valid).
Implements AnalyzeRe.Authentication.IAccessToken.
Definition at line 17 of file BasicAuthenticationToken.cs.
|
get |
The username associated with this authentication token.
Definition at line 23 of file BasicAuthenticationToken.cs.