5.2.2. xgt.BasicAuth¶
- class xgt.BasicAuth(username='trovares', 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
The password used for authentication.
The username used for authentication.
- __init__(username='trovares', 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