Skip to content

StaticCredentialProvider Constructors ​

Definition ​

  • Namespace: JASE
  • Assembly: JASE.dll

Overloads ​

NameDescription
StaticCredentialProvider(IAuthenticationCredential credential)Create an instance of a StaticCredentialProvider for the provided credentials
StaticCredentialProvider(string username, string password)Initializes a new instance of the StaticCredentialProvider class with basic authentication.

StaticCredentialProvider(IAuthenticationCredential credential) ​

csharp
StaticCredentialProvider(IAuthenticationCredential credential)

Create an instance of a StaticCredentialProvider for the provided credentials

StaticCredentialProvider(string username, string password) ​

csharp
StaticCredentialProvider(string username, string password)

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

Parameters ​

NameDescription
passwordThe password.
usernameThe user name.