Share via


UsernamePasswordCredentials Class

Definition

Username and password credentials.

[Newtonsoft.Json.JsonObject("#Microsoft.VideoAnalyzer.UsernamePasswordCredentials")]
public class UsernamePasswordCredentials : Microsoft.Azure.Management.VideoAnalyzer.Models.CredentialsBase
[<Newtonsoft.Json.JsonObject("#Microsoft.VideoAnalyzer.UsernamePasswordCredentials")>]
type UsernamePasswordCredentials = class
    inherit CredentialsBase
Public Class UsernamePasswordCredentials
Inherits CredentialsBase
Inheritance
UsernamePasswordCredentials
Attributes
Newtonsoft.Json.JsonObjectAttribute

Constructors

UsernamePasswordCredentials()

Initializes a new instance of the UsernamePasswordCredentials class.

UsernamePasswordCredentials(String, String)

Initializes a new instance of the UsernamePasswordCredentials class.

Properties

Password

Gets or sets 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.

Username

Gets or sets username to be presented as part of the credentials.

Methods

Validate()

Validate the object.

Applies to