mirror of
https://github.com/stack-auth/stack.git
synced 2026-07-20 21:29:36 +08:00
- Test StackAuthError base class storage and string representation - Test all 13 category subclasses inherit from StackAuthError - Test from_response() dispatch for known and unknown error codes - Test StackAuthModel config and millis conversion - Package skeleton with pyproject.toml (stubs only, tests expected to fail)
28 lines
494 B
Markdown
28 lines
494 B
Markdown
# Stack Auth Python SDK
|
|
|
|
Python SDK for [Stack Auth](https://stack-auth.com) - authentication, user management, and team management for your Python backend.
|
|
|
|
## Installation
|
|
|
|
```bash
|
|
pip install stack-auth
|
|
```
|
|
|
|
## Quick Start
|
|
|
|
```python
|
|
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+
|