Authentication¶
Authentication configuration for Akuvox device connections.
- class pylocal_akuvox.auth.AuthMethod[source]¶
Bases:
EnumSupported authentication methods for Akuvox devices.
- NONE = 'none'¶
- ALLOWLIST = 'allowlist'¶
- BASIC = 'basic'¶
- DIGEST = 'digest'¶
- class pylocal_akuvox.auth.AuthConfig[source]¶
Bases:
objectAuthentication configuration for connecting to an Akuvox device.
- method: AuthMethod¶
- __init__(method, username=None, password=None)¶
- Parameters:
method (AuthMethod)
username (str | None)
password (str | None)
- Return type:
None