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

Uploaded Python 3

File details

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

File metadata

  • Download URL: snapline_auth_adapters-0.2.3.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.3.tar.gz
Algorithm Hash digest
SHA256 6c02edc81d19c6e711585077a35ee3200285abae960d6d11b94d62e1f0a08c95
MD5 7f255bdc8742f3f7de84e8b2c827ea49
BLAKE2b-256 a6188c9337d749789969c8acff37bffa90c64262631267effbf57ad8073c9294

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snapline_auth_adapters-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c621b4efa63ae7c0656ce603a734d14d46cb60096a30014a04143d93dd0f716c
MD5 796e8465ea83b3f7c97076b00595d58c
BLAKE2b-256 86150ab0dbc26e0a0658cb1c66a41ff627a630e81302660f52668bf9effa9100

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.5

2 files

0.2.4

2 files

This release

0.2.3 This release

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