Class PasswordCredentials
A credentials provider that uses a user name and password for authentication.
public class PasswordCredentials : ICredentials
- Inheritance
-
PasswordCredentials
- Implements
- Inherited Members
Constructors
PasswordCredentials()
Initializes a new instance of the PasswordCredentials class.
public PasswordCredentials()
PasswordCredentials(string, string)
Initializes a new instance of the PasswordCredentials class with the specified user name and password.
public PasswordCredentials(string userName, string password)
Parameters
userName
stringThe user name for the credentials.
password
stringThe password for the credentials.
Properties
Password
Gets the password.
public string Password { get; }
Property Value
UserName
Gets the user name.
public string UserName { get; }