Skip to main content

Authentication Client for Questra® to use in all other Questra® Client Libraries

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

seven2one_questra_authentication-2.0.0.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file seven2one_questra_authentication-2.0.0.tar.gz.

File metadata

  • Download URL: seven2one_questra_authentication-2.0.0.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.1 {"installer":{"name":"uv","version":"0.11.1","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}

File hashes

Hashes for seven2one_questra_authentication-2.0.0.tar.gz
Algorithm Hash digest
SHA256 def87e4a03a24879aa1837a61ad0afece78725db5d11eadcd8b79e2703905592
MD5 088b4a14915f1150f6f8506063250a5d
BLAKE2b-256 d7aebc71823c2929a354c116f142e2a59bd456390a2e7683f66f1c3a8e1264ee

See more details on using hashes here.

File details

Details for the file seven2one_questra_authentication-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: seven2one_questra_authentication-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.1 {"installer":{"name":"uv","version":"0.11.1","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}

File hashes

Hashes for seven2one_questra_authentication-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ffcd37a7ee81097cc8e4364ba1f881d32543bb10ea2187dfa2e1bd3c5ebb8f66
MD5 f0fcad0bcb77a548d4278d730f93f901
BLAKE2b-256 c7d08772379b5b8a501526368786ddd7f9c0696442abc31a363709ff04f077cd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page