Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Questra Authentication

Python OAuth2 Authentication Client für die Questra API mit Unterstützung für Service-Account- und interaktive Benutzer-Authentifizierung.

Features

  • Service Account & Interaktive Authentifizierung: Username/Password oder OAuth2 Device Code Flow
  • Automatisches Token-Management: Automatische Token-Refresh-Mechanismen
  • OIDC Discovery: Automatische Erkennung von OAuth2 Endpoints
  • Type-Safe: Vollständig typisierte API mit Dataclasses

Installation

pip install seven2one-questra-authentication

Requirements

  • Python >= 3.11
  • requests-oauthlib >= 2.0.0

Schnellstart

Service Account

from seven2one.questra.authentication import QuestraAuthentication

client = QuestraAuthentication(
    url="https://auth.example.com",
    username="ServiceUser",
    password="secret_password"
)

access_token = client.get_access_token()

Interaktiver Benutzer

client = QuestraAuthentication(
    url="https://auth.example.com",
    interactive=True
)

access_token = client.get_access_token()

Erweiterte Verwendung

# Mehrere Discovery-Pfade
client = QuestraAuthentication(
    url="https://auth.example.com",
    username="ServiceUser",
    password="secret",
    oidc_discovery_paths=["/app/o/techstack", "/app/o/questra"]
)

# Benutzerdefinierte Scopes
client = QuestraAuthentication(
    url="https://auth.example.com",
    username="ServiceUser",
    password="secret",
    scope="openid profile email"
)

Hinweis: Der Identity Provider kann einen enger gefassten Scope gewähren als angefordert (z. B. wird openid nicht immer zurückgegeben) — das wird akzeptiert, statt die Anmeldung abzubrechen.

Weitere Informationen

License

Proprietary - Seven2one Informationssysteme GmbH

Metadata

Release files for seven2one-questra-authentication 2.2.2rc1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for seven2one-questra-authentication 2.2.2rc1
File Size Uploaded Provenance Actions
seven2one_questra_authentication-2.2.2rc1.tar.gz 16.3 kB Without provenance Details for seven2one_questra_authentication-2.2.2rc1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for seven2one-questra-authentication 2.2.2rc1
File Interpreter ABI Platform Actions
seven2one_questra_authentication-2.2.2rc1-py3-none-any.whl Python 3 none any Details for seven2one_questra_authentication-2.2.2rc1-py3-none-any.whl

Total release size: 36.8 kB

Release files / seven2one_questra_authentication-2.2.2rc1.tar.gz

Download URL seven2one_questra_authentication-2.2.2rc1.tar.gz
Size 16.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b0709d9b2feca6782c761de3e937c272f6cd7be5311ecdbf8ca5c2359e5918ed
BLAKE2b-256 checksum
How to use checksums
c6522dfbab458d6c4f1de7f359c92fa78809cbeb1a25238ada7722207e0e2da0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / seven2one_questra_authentication-2.2.2rc1-py3-none-any.whl

Download URL seven2one_questra_authentication-2.2.2rc1-py3-none-any.whl
Size 20.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
496700871911e8fb782c9f6b0eb0346ebb0f016d13382e4271f984d9a6c16784
BLAKE2b-256 checksum
How to use checksums
b08b37e47a734b54fdde7e6c9ef19cd6aa15e4f19ed1b4931435bb88f0289a2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for seven2one-questra-authentication 2.2.2rc1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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