A Python SDK for OAuth 2.0 functionality implementing multiple OAuth 2.0 standards
Project description
KeyCard AI OAuth SDK
A comprehensive Python SDK for OAuth 2.0 functionality implementing multiple OAuth 2.0 standards for enterprise-grade token management.
Installation
uv add keycardai-oauth
Quick Start
from keycardai.oauth import Client
with Client("https://oauth.example.com/token") as client:
response = await client.exchange_token(
subject_token="original_token",
subject_token_type=TokenTypes.ACCESS_TOKEN,
resource="https://api.example.com"
)
Development
This package is part of the KeycardAI Python SDK workspace.
To develop:
# From workspace root
uv sync
uv run --package keycardai-oauth pytest
License
MIT License - see LICENSE file for details.
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 keycardai_oauth-0.4.1.tar.gz.
File metadata
- Download URL: keycardai_oauth-0.4.1.tar.gz
- Upload date:
- Size: 68.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.8.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5da2d2ef5ec68bd18da40fbace0276135e54216ffba5588b177e0821a26ad19c
|
|
| MD5 |
34bb2f800959f974147945f4058281c8
|
|
| BLAKE2b-256 |
3a2a1f72d7d6468d9c9d0b3d078a077f37feec2d51e91e21c1007a73ac6d76f2
|
File details
Details for the file keycardai_oauth-0.4.1-py3-none-any.whl.
File metadata
- Download URL: keycardai_oauth-0.4.1-py3-none-any.whl
- Upload date:
- Size: 38.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.8.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
059072de4bfbcdc9613e44102405e1fff0679fbb6b0b96b2d8ebc428fab81420
|
|
| MD5 |
e91b93977b731d2af25f4a41cba53c36
|
|
| BLAKE2b-256 |
64113f6174b3a81c3fac735ea788306f4bb8cace9c3d26757dd19b297a8c6d88
|