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.0rc2
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.0rc2.tar.gz | 10.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| seven2one_questra_authentication-2.1.0rc2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.2 kB
Release files / seven2one_questra_authentication-2.1.0rc2.tar.gz
| Download URL | seven2one_questra_authentication-2.1.0rc2.tar.gz |
|---|---|
| Size | 10.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bf60021011fe47432d8eaa15ba740e17c441cec215d717b90026b24afbe723e3
|
|
BLAKE2b-256 checksum How to use checksums |
f00d16d1a396b7015dba209020eef7b0efeb55adbd21bbc688b3c15fd109b65b
|
| 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.0rc2-py3-none-any.whl
| Download URL | seven2one_questra_authentication-2.1.0rc2-py3-none-any.whl |
|---|---|
| Size | 12.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cc0f0498887a17f8f978ffb705f3b3a142b69c5dad0c763471cc502d089ab6f4
|
|
BLAKE2b-256 checksum How to use checksums |
b0a0c129f67e7d0b48ab919e5d3c734b4194479e29fb7f41e07a1f7278acea87
|
| 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}
|