C# Client Library
A C# Client Library for the AnalyzeRe REST API
AnalyzeRe.Authentication Namespace Reference

Classes

class  BasicAuthenticationToken
 An AccessToken storing basic authentication information for requests made to the server. More...
 
interface  IAccessToken
 An AccessToken storing authentication information for requests made to the server. More...
 
class  OauthAccessToken
 An AccessToken storing OAuth authentication information for requests made to the server. More...
 

Enumerations

enum  AccessTokenStatus { AccessTokenStatus.Unknown = 0, AccessTokenStatus.Unauthorized, AccessTokenStatus.Valid }
 An AccessToken's status (unauthorized / valid). More...
 
enum  AuthenticationStatus {
  AuthenticationStatus.Unknown = 0, AuthenticationStatus.Authenticated, AuthenticationStatus.InvalidCredentials, AuthenticationStatus.AuthenticationRequired,
  AuthenticationStatus.NoAuthenticationRequired, AuthenticationStatus.Error
}
 The status of authentication against the current server. More...
 

Enumeration Type Documentation

An AccessToken's status (unauthorized / valid).

Enumerator
Unknown 

Indicates that no attempt has been made to authenticate with this access token.

Unauthorized 

Indicates that the AccessToken has not been authenticated.

Valid 

Indicates that the AccessToken has previously been authenticated.

Definition at line 6 of file AccessTokenStatus.cs.

The status of authentication against the current server.

Enumerator
Unknown 

Indicates that the authentication status is unknown.

Authenticated 

Indicates that authentication has taken place and was successful

InvalidCredentials 

Indicates that the current authentication settings are invalid.

AuthenticationRequired 

Indicates that authentication is required but has not yet taken place.

NoAuthenticationRequired 

Indicates that authentication is not required for the server.

Error 

Indicates that there was an error while determining the authentication status.

Definition at line 6 of file AuthenticationStatus.cs.