The Basics
Security
Contributing
API Reference
[python source code]
HTTP Basic authorization helpers for TekHSI Mode 3 client auth.
build_basic_authorization_value(username: str, password: str) -> str
Return the full value for the authorization metadata key: Basic <b64>.
authorization
Basic <b64>
parse_basic_authorization(header_value: str) -> tuple[str, str] | None
Parse Basic <b64>; return (username, password) or None if invalid.
(username, password)
None