UsernamePasswordCredentials(String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET