mirror of
https://github.com/stack-auth/stack.git
synced 2026-07-20 21:29:36 +08:00
- Add _resolve_customer_path helper for polymorphic customer identification - Add list_products, get_item, grant_product, cancel_subscription to both sync and async facades - Add send_email and get_email_delivery_stats to both sync and async facades - Export ServerItem, AsyncServerItem, EmailDeliveryInfo from package root |
||
|---|---|---|
| .. | ||
| src/stack_auth | ||
| tests | ||
| pyproject.toml | ||
| README.md | ||
Stack Auth Python SDK
Python SDK for Stack Auth - authentication, user management, and team management for your Python backend.
Installation
pip install stack-auth
Quick Start
from stack_auth import StackServerApp
app = StackServerApp(
project_id="your-project-id",
secret_server_key="your-secret-key",
)
# Verify a request's access token
user = await app.authenticate_request(request)
Requirements
- Python 3.10+