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.1.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.1-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

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

Hashes for snapline_auth_adapters-0.2.1.tar.gz
Algorithm Hash digest
SHA256 4fec656bd1870e9eafffe614c728edcdecaeea68dd87939b2cf62db651a9d0d2
MD5 040fa06e35ce6f82356780a7c1a59cfd
BLAKE2b-256 d4f68a834c1cf954389f8e6a79d53bcaba8b7403706048579ac43ec5f34fad46

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snapline_auth_adapters-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1d0547f19a027783c60ffde7e81ad9ed967f872f0bd90c04895ce24195c0ab61
MD5 a626714fd98dad7c461060563e805dd4
BLAKE2b-256 a3a5bd6dc24567fe85a162126cc7d15a03a27fd6c1298e4c0fca103f2814c2a2

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

This release

0.2.1 This release

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