Aegis Authentication SDK for Python.
Project description
English | 简体中文
Aegis Auth SDK
🚀 Core Value: Making Authentication Simple and Secure
Aegis Auth SDK is a modern authentication toolkit for Web applications, built on the WebAuthn (FIDO2) standard. It enables developers to quickly implement passwordless authentication, fundamentally eliminating the security risks and usability issues associated with traditional passwords.
🌟 Key Features
1. Excellent Developer Experience
- Out-of-the-box: Install via
pipwith zero complex setup - Highly abstracted: WebAuthn complexity is fully encapsulated
- Fast integration: Implement registration and login in minutes
2. Secure & Compliant Passwordless Solution
- Passwordless by design: Eliminates password reuse, phishing, and credential stuffing
- Minimal sensitive data: Only public keys stored server-side, no biometric raw data
- Anti-automation: Challenge-response mechanism prevents brute-force and bot attacks
3. Cross-platform & Biometric Support
- Multi-platform compatibility:
- Windows Hello
- macOS Touch ID
- iOS / Android (Face ID / Fingerprint)
- Device binding: Strong "User + Device" trust model
4. Enterprise-grade User Management
- Unified user view: Credential management, device解绑, status control
- Audit logs: Full authentication traceability
- SSO friendly: Easily integrates with enterprise identity systems (e.g., yiducloud.cn)
🛠 Quick Start
Installation
pip install aegis-auth-sdk
SDK Example
from aegis_auth_sdk import AegisClient
client = AegisClient(
base_url="https://your-server:8000",
app_id="your_app_id",
secret_key="your_secret_key"
)
info = client.get_app_info()
print(info)
users = client.get_users()
for user in users["users"]:
print(f'{user["username"]} - Status: {user["status"]}')
client.set_user_status("alice", False)
client.delete_user("alice")
logs = client.get_logs(page=1, page_size=10, log_type="auth_verify")
🌐 Integration Example
Frontend Example
// (Same as your original frontend example)
Backend Example
# (Same as your original backend example)
⚠️ Error Codes
| HTTP Status | Meaning | Description |
|---|---|---|
| 200 | OK | Request successful |
| 400 | Bad Request | Missing or invalid parameters |
| 401 | Unauthorized | Invalid App ID / Secret or app disabled |
| 404 | Not Found | Resource not found |
| 500 | Server Error | Internal server error |
📦 Error Response Format
{ "error": "Error message" }
or:
{ "detail": "Error message" }
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aegis_auth_sdk-0.0.6.tar.gz.
File metadata
- Download URL: aegis_auth_sdk-0.0.6.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e3bfce0e3b246c3aa85050f01299a5dbe47a2e96e02708776031fb8de86d1d3
|
|
| MD5 |
b67c518916ae5e56cb400b93bc29bf1d
|
|
| BLAKE2b-256 |
495a17ca431797ceb284ac7e37245506599a01d520b0f7d61d5f73c2d4ca309e
|
Provenance
The following attestation bundles were made for aegis_auth_sdk-0.0.6.tar.gz:
Publisher:
pypi-publish.yml on sevck/aegis-auth-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aegis_auth_sdk-0.0.6.tar.gz -
Subject digest:
9e3bfce0e3b246c3aa85050f01299a5dbe47a2e96e02708776031fb8de86d1d3 - Sigstore transparency entry: 1203284277
- Sigstore integration time:
-
Permalink:
sevck/aegis-auth-sdk@798b1724e87645ae836a4b13fa7ba96f76b1984a -
Branch / Tag:
refs/tags/v0.0.6 - Owner: https://github.com/sevck
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@798b1724e87645ae836a4b13fa7ba96f76b1984a -
Trigger Event:
push
-
Statement type:
File details
Details for the file aegis_auth_sdk-0.0.6-py3-none-any.whl.
File metadata
- Download URL: aegis_auth_sdk-0.0.6-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2663bd2c23846a34a24bc461cae475640f2e9dc4b32f8b0e44bd9ad4e6907dd
|
|
| MD5 |
046c23c6adc5b7b032196c9dfefc7a7c
|
|
| BLAKE2b-256 |
5f5dbbb77727725b0f2812380f9f7fab39ed72308d02a5ce3ae85ea9189d11fa
|
Provenance
The following attestation bundles were made for aegis_auth_sdk-0.0.6-py3-none-any.whl:
Publisher:
pypi-publish.yml on sevck/aegis-auth-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aegis_auth_sdk-0.0.6-py3-none-any.whl -
Subject digest:
e2663bd2c23846a34a24bc461cae475640f2e9dc4b32f8b0e44bd9ad4e6907dd - Sigstore transparency entry: 1203284280
- Sigstore integration time:
-
Permalink:
sevck/aegis-auth-sdk@798b1724e87645ae836a4b13fa7ba96f76b1984a -
Branch / Tag:
refs/tags/v0.0.6 - Owner: https://github.com/sevck
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@798b1724e87645ae836a4b13fa7ba96f76b1984a -
Trigger Event:
push
-
Statement type: