snapline-auth-adapters
Pluggable authentication adapters for Snapline test automation. Initialize OAuth2, OpenID, or Basic Auth credentials and receive ready-to-use HTTP headers.
Install
pip install snapline-auth-adapters
Quick start
import asyncio
from snapline.auth_adapters import auth
async def main():
adapter = auth.basic({"username": "user", "password": "secret"})
result = await adapter.initialize()
print(result["headers"])
asyncio.run(main())
Documentation
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file snapline_auth_adapters-0.2.1.tar.gz.
File metadata
- Download URL: snapline_auth_adapters-0.2.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4fec656bd1870e9eafffe614c728edcdecaeea68dd87939b2cf62db651a9d0d2
|
|
| MD5 |
040fa06e35ce6f82356780a7c1a59cfd
|
|
| BLAKE2b-256 |
d4f68a834c1cf954389f8e6a79d53bcaba8b7403706048579ac43ec5f34fad46
|
File details
Details for the file snapline_auth_adapters-0.2.1-py3-none-any.whl.
File metadata
- Download URL: snapline_auth_adapters-0.2.1-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d0547f19a027783c60ffde7e81ad9ed967f872f0bd90c04895ce24195c0ab61
|
|
| MD5 |
a626714fd98dad7c461060563e805dd4
|
|
| BLAKE2b-256 |
a3a5bd6dc24567fe85a162126cc7d15a03a27fd6c1298e4c0fca103f2814c2a2
|