hololinked.client.security.BasicSecurity
Bases: BaseModel
Basic Security Scheme with username and password.
The credentials are added into the Authorization header.
Source code in hololinked/hololinked/client/security.py
Attributes
Functions
__init__
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
The username for basic authentication |
required |
|
str
|
The password for basic authentication |
required |
|
bool
|
Whether to encode the credentials in base64, by default True |
True
|