UsernamePasswordCredentials(String, String) Constructor

Definition

Initializes a new instance of UsernamePasswordCredentials.

public UsernamePasswordCredentials (string username, string password);
new Azure.Media.VideoAnalyzer.Edge.Models.UsernamePasswordCredentials : string * string -> Azure.Media.VideoAnalyzer.Edge.Models.UsernamePasswordCredentials
Public Sub New (username As String, password As String)

Parameters

username
String

Username to be presented as part of the credentials.

password
String

Password to be presented as part of the credentials. It is recommended that this value is parameterized as a secret string in order to prevent this value to be returned as part of the resource on API requests.

Exceptions

username or password is null.

Applies to