5.2.2. xgt.BasicAuth

class xgt.BasicAuth(username: str = 'MajorTom', password: str = '')

Basic authentication mechanism with user id and password.

Parameters:
  • username (str) – The username to authenticate as.

  • password (str) – Password used to authenticate.

Attributes

password

The password used for authentication.

username

The username used for authentication.

property password: str

The password used for authentication.

Type:

str

property username: str

The username used for authentication.

Type:

str