UserPasswordCredential UserPasswordCredential UserPasswordCredential Constructors

Definition

Overloads

UserPasswordCredential(String, SecureString) UserPasswordCredential(String, SecureString) UserPasswordCredential(String, SecureString)

Constructor to create credential with username and password

UserPasswordCredential(String, String) UserPasswordCredential(String, String) UserPasswordCredential(String, String)

Constructor to create credential with username and password

UserPasswordCredential(String, SecureString) UserPasswordCredential(String, SecureString) UserPasswordCredential(String, SecureString)

Constructor to create credential with username and password

public UserPasswordCredential (string userName, System.Security.SecureString securePassword);
new Microsoft.IdentityModel.Clients.ActiveDirectory.UserPasswordCredential : string * System.Security.SecureString -> Microsoft.IdentityModel.Clients.ActiveDirectory.UserPasswordCredential
Public Sub New (userName As String, securePassword As SecureString)

Parameters

userName
String String String

Identifier of the user application requests token on behalf.

securePassword
SecureString SecureString SecureString

User password.

UserPasswordCredential(String, String) UserPasswordCredential(String, String) UserPasswordCredential(String, String)

Constructor to create credential with username and password

public UserPasswordCredential (string userName, string password);
new Microsoft.IdentityModel.Clients.ActiveDirectory.UserPasswordCredential : string * string -> Microsoft.IdentityModel.Clients.ActiveDirectory.UserPasswordCredential
Public Sub New (userName As String, password As String)

Parameters

userName
String String String

Identifier of the user application requests token on behalf.

password
String String String

User password.

Applies to