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.10
  • 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"
)

Weitere Informationen

License

Proprietary - Seven2one Informationssysteme GmbH

Release files for seven2one-questra-authentication 2.2.0b1

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.0b1
File Size Uploaded
seven2one_questra_authentication-2.2.0b1.tar.gz 15.6 kB Details

Built distribution (wheel)

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

Total release size: 35.4 kB

Release files / seven2one_questra_authentication-2.2.0b1.tar.gz

Download URL seven2one_questra_authentication-2.2.0b1.tar.gz
Size 15.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b8d62a445ecaffe5696c2f4182abd49a86c694b6e2ea9c2e00b15f6db2658cac
BLAKE2b-256 checksum
How to use checksums
e3debdebb3046281620b8a2f999e82639f85c7b334e7959a8e30d29d60bc70f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","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.0b1-py3-none-any.whl

Download URL seven2one_questra_authentication-2.2.0b1-py3-none-any.whl
Size 19.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
41747087e85c72f4a9922fe6cffbfcf63886a942493574f167aff64457b3c7a0
BLAKE2b-256 checksum
How to use checksums
991c42131b0b3c09e2f51bf2ea0ad0680dac009e9272ce60192a0a88ce3960ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","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}
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