Appearance
ClientCredential Class
Definition
Represents client credential information.
- Namespace:
JASE - Assembly:
JASE.dll
Constructors
| Name | Description |
|---|---|
ClientCredential() | Initializes a new instance of the ClientCredential class. |
ClientCredential(NetworkCredential source) | Initializes a new instance of the ClientCredential class using the provider NetworkCredential. |
ClientCredential(string token) | Initializes a new instance of the ClientCredential class with a bearer token. |
ClientCredential(string username, string password) | Initializes a new instance of the ClientCredential class with basic authentication. |
ClientCredential(string username, string password, string domain) | Initializes a new instance of the ClientCredential class with NTLM authentication. |
Properties
| Name | Description |
|---|---|
Type | Gets or sets the type of authentication used. |
Methods
| Name | Description |
|---|---|
ClientCredential Clone() | |
IAuthenticationCredential GetCredential() | Gets the credential for use in authentication. |
NetworkCredential GetNetworkCredential() | Gets the credentials as a NetworkCredential |
string GetToken() | Returns Credential token for BearerToken |
string ToBase64Authentication() | Converts the authentication information to a base64 encoded string. |