你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

UsernamePasswordConfiguration Class

Username and password credentials.

Constructor

UsernamePasswordConfiguration(*, username: str | None, password: str | None)

Parameters

Name Description
username
Required
str

The username, value should be url-encoded.

password
Required
str

The password, value should be url-encoded.

Keyword-Only Parameters

Name Description
username
Required
password
Required

Methods

get
has_key
items
keys
update
values

get

get(key: Any, default: Any | None = None) -> Any

Parameters

Name Description
key
Required
default
Required
Default value: None

has_key

has_key(k: Any) -> bool

Parameters

Name Description
k
Required

items

items() -> list

keys

keys() -> list

update

update(*args: Any, **kwargs: Any) -> None

values

values() -> list