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

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.1.0
File Size Uploaded
seven2one_questra_authentication-2.1.0.tar.gz 10.1 kB Details

Built distribution (wheel)

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

Total release size: 22.2 kB

Release files / seven2one_questra_authentication-2.1.0.tar.gz

Download URL seven2one_questra_authentication-2.1.0.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ac6bb66fc32c3ebb4a754c029dabb0420e69b3ace0b0ec26cadf67c35de0fada
BLAKE2b-256 checksum
How to use checksums
3ec2b7fdc568526b9dedbeb3bcac7af895e346d4f87c73912ce916129668cb17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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.1.0-py3-none-any.whl

Download URL seven2one_questra_authentication-2.1.0-py3-none-any.whl
Size 12.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
98b10a558c271f738c78c366d71dfe26c3a416727e7dd9849609f7ac241ea7ee
BLAKE2b-256 checksum
How to use checksums
8414f03873f42ddf7b8d4d0cf9281dab0197f481aae5c4cce5edd8241d1d7b31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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}
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