5.2.3. xgt.BasicAuth

class xgt.BasicAuth(username='', password='')

Basic authentication mechanism with user id and password.

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

  • password (str) – Password used to authenticate.

Methods

__init__([username, password])

Constructor for BasicAuth.

Attributes

password

The password used for authentication.

username

The username used for authentication.

__init__(username='', password='')

Constructor for BasicAuth. Called when BasicAuth is created.

property password: str

The password used for authentication.

Type:

str

property username: str

The username used for authentication.

Type:

str