Skip to main content

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.2

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.2
File Size Uploaded Provenance Actions
seven2one_questra_authentication-2.2.2.tar.gz 16.3 kB Without provenance Details for seven2one_questra_authentication-2.2.2.tar.gz

Built distribution (wheel)

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

Total release size: 36.7 kB

Release files / seven2one_questra_authentication-2.2.2.tar.gz

Download URL seven2one_questra_authentication-2.2.2.tar.gz
Size 16.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4a1993260751d19ebe34b8a5b021ae863181f744f3adee965cf207b9ba095052
BLAKE2b-256 checksum
How to use checksums
9d10a56e11ae9336b0e2b930a43d7f01ab08a22dd4ab93938def92eeaab46c54
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":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

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

Download URL seven2one_questra_authentication-2.2.2-py3-none-any.whl
Size 20.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e1ddcaa6771de518ae5d9aafbd810f04b53dd67cba05d39befbf3a21d7dd22a4
BLAKE2b-256 checksum
How to use checksums
d585ea6bef6de45afde977bcd83fe56490f3ea7a56bd927bc89ab3063d31c015
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":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for seven2one-questra-authentication 2.2.2

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