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

Uploaded Python 3

File details

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

File metadata

  • Download URL: snapline_auth_adapters-0.2.2.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.2.tar.gz
Algorithm Hash digest
SHA256 ff4ad93ccab836faed5eef605ea01d822cd91c474b4ce69fd9295f467e6682eb
MD5 8fba03f69272eeffae4eed50e2744991
BLAKE2b-256 e6d9e051e5de55edd019111f2c6257eb5f6a854ec838bd8c9d6d14f75d447fb4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snapline_auth_adapters-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2e26d5dfb1c16a8b6e45cb3dcf1cd90f88d7c0a5603a0904a86b9b5cd31edf87
MD5 d1793ac365d1695b70b5915d0a5fe5c4
BLAKE2b-256 b21b270e0413c92d321da1482418a3fb734df5556bd8bb1e8e6613ffec481d88

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

This release

0.2.2 This release

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