Skip to main content

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

https://vaagatech.github.io/snapline-python/ · Node.js docs

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

snapline_auth_adapters-0.2.5.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

snapline_auth_adapters-0.2.5-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file snapline_auth_adapters-0.2.5.tar.gz.

File metadata

  • Download URL: snapline_auth_adapters-0.2.5.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

Hashes for snapline_auth_adapters-0.2.5.tar.gz
Algorithm Hash digest
SHA256 bb28e26ff0037f528fa81db8d9f34878679b24630a40f21efe0ad0f13f312a84
MD5 b05f020d23577dd4204e349481c1c9c5
BLAKE2b-256 9b668651d492b36202dcbd1e4ae97346686f70c721a13a119bfbb83cf7ad6e09

See more details on using hashes here.

File details

Details for the file snapline_auth_adapters-0.2.5-py3-none-any.whl.

File metadata

File hashes

Hashes for snapline_auth_adapters-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 097b965a8bb9cbd3550647b0328b994abdbea1f9d19555a09f31c0b3b436123c
MD5 c3269af006e59628e941c08f4f746166
BLAKE2b-256 f6b0001115d3415375e747cf53cafdca1db52ac0a511dae8f514fc4ca2c4d2e4

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.5 This release

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.10

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page