Compartilhar via


BasicAuthentication Class

BasicAuthentication.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.scheduler.models._models_py3.HttpAuthentication
BasicAuthentication

Constructor

BasicAuthentication(*, username: str | None = None, password: str | None = None, **kwargs)

Parameters

Name Description
type
Required

Required. Gets or sets the HTTP authentication type.Constant filled by server. Possible values include: "NotSpecified", "ClientCertificate", "ActiveDirectoryOAuth", "Basic".

username
Required
str

Gets or sets the username.

password
Required
str

Gets or sets the password, return value will always be empty.

Keyword-Only Parameters

Name Description
username
Required
password
Required