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-1.1.0.tar.gz (7.8 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-1.1.0.tar.gz.

File metadata

  • Download URL: seven2one_questra_authentication-1.1.0.tar.gz
  • Upload date:
  • Size: 7.8 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-1.1.0.tar.gz
Algorithm Hash digest
SHA256 8018b1de136cbf23c87bbfa4ff510e482d60c6a8eab259d486bf07542f7cba0e
MD5 24c1907e4a5a9097afd009b47bce2fb1
BLAKE2b-256 b77837b0ca7a7f2ea18f8e501bf12dff6b905d104b92cd26f74e02dfa4f7fd2a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: seven2one_questra_authentication-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.5 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-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 071ff395833d568af6e0ddf361c6e8c095e347f7c24f873c7da87bf43953d781
MD5 0e89f09c117bd9f3ff13078c8c39ce91
BLAKE2b-256 279ac7ebf751ad3b2a2656b83e75876dd5c5c41634c072559e2bff892f770b90

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