Skip to content

ClientCredential Constructors ​

Definition ​

  • Namespace: JASE
  • Assembly: JASE.dll

Overloads ​

NameDescription
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.

ClientCredential() ​

csharp
ClientCredential()

Initializes a new instance of the ClientCredential class.

ClientCredential(NetworkCredential source) ​

csharp
ClientCredential(NetworkCredential source)

Initializes a new instance of the ClientCredential class using the provider NetworkCredential.

ClientCredential(string token) ​

csharp
ClientCredential(string token)

Initializes a new instance of the ClientCredential class with a bearer token.

Parameters ​

NameDescription
tokenThe bearer token.

ClientCredential(string username, string password) ​

csharp
ClientCredential(string username, string password)

Initializes a new instance of the ClientCredential class with basic authentication.

Parameters ​

NameDescription
passwordThe password.
usernameThe user name.

ClientCredential(string username, string password, string domain) ​

csharp
ClientCredential(string username, string password, string domain)

Initializes a new instance of the ClientCredential class with NTLM authentication.

Parameters ​

NameDescription
domainThe domain.
passwordThe password.
usernameThe user name.