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
- Vollständige Dokumentation: https://pydocs.[questra-host.domain]
- Support: support@seven2one.de
License
Proprietary - Seven2one Informationssysteme GmbH
Release files for seven2one-questra-authentication 2.1.0rc1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| seven2one_questra_authentication-2.1.0rc1.tar.gz | 12.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| seven2one_questra_authentication-2.1.0rc1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.9 kB
Release files / seven2one_questra_authentication-2.1.0rc1.tar.gz
| Download URL | seven2one_questra_authentication-2.1.0rc1.tar.gz |
|---|---|
| Size | 12.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d691be048ca97a7cf8d850d7fce582a93c3152181d0ceaa795d1f8ce686708d4
|
|
BLAKE2b-256 checksum How to use checksums |
930fc1aef3959cffa712cf208a299cc982ba956e65244db61acbc3c6bf662f8f
|
| 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.1.0rc1-py3-none-any.whl
| Download URL | seven2one_questra_authentication-2.1.0rc1-py3-none-any.whl |
|---|---|
| Size | 16.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
072f7ec3cc036f10f9432b9484b0e0ede37dae2fe07f3c86d76d3da121204564
|
|
BLAKE2b-256 checksum How to use checksums |
852af6a07aa2a3802e5a5b8297146c8c05cb8ef4c502d35d49983dfb6a29ccfb
|
| 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}
|