Name | keycardai-oauth JSON |
Version |
0.2.0
JSON |
| download |
home_page | None |
Summary | A Python SDK for OAuth 2.0 functionality implementing multiple OAuth 2.0 standards |
upload_time | 2025-09-10 16:45:12 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.10 |
license | MIT |
keywords |
authentication
oauth
oauth2
security
tokens
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 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
```bash
uv add keycardai-oauth
```
## Quick Start
```python
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](../../README.md).
To develop:
```bash
# From workspace root
uv sync
uv run --package keycardai-oauth pytest
```
## License
MIT License - see [LICENSE](../../LICENSE) file for details.
Raw data
{
"_id": null,
"home_page": null,
"name": "keycardai-oauth",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "authentication, oauth, oauth2, security, tokens",
"author": null,
"author_email": "KeyCard AI <support@keycard.ai>",
"download_url": "https://files.pythonhosted.org/packages/05/bb/7fba59da1496b344d00d0021d3a789a2622df60a50490a4a5593bf5b2fbc/keycardai_oauth-0.2.0.tar.gz",
"platform": null,
"description": "# KeyCard AI OAuth SDK\n\nA comprehensive Python SDK for OAuth 2.0 functionality implementing multiple OAuth 2.0 standards for enterprise-grade token management.\n\n## Installation\n\n```bash\nuv add keycardai-oauth\n```\n\n## Quick Start\n\n```python\nfrom keycardai.oauth import Client\n\nwith Client(\"https://oauth.example.com/token\") as client:\n response = await client.exchange_token(\n subject_token=\"original_token\",\n subject_token_type=TokenTypes.ACCESS_TOKEN,\n resource=\"https://api.example.com\"\n )\n\n```\n\n## Development\n\nThis package is part of the [KeycardAI Python SDK workspace](../../README.md). \n\nTo develop:\n\n```bash\n# From workspace root\nuv sync\nuv run --package keycardai-oauth pytest\n```\n\n## License\n\nMIT License - see [LICENSE](../../LICENSE) file for details.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A Python SDK for OAuth 2.0 functionality implementing multiple OAuth 2.0 standards",
"version": "0.2.0",
"project_urls": {
"Documentation": "https://docs.keycardai.com",
"Homepage": "https://github.com/keycardai/python-sdk",
"Issues": "https://github.com/keycardai/python-sdk/issues",
"Repository": "https://github.com/keycardai/python-sdk"
},
"split_keywords": [
"authentication",
" oauth",
" oauth2",
" security",
" tokens"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "99fb1801c2a4d6b25c4d9543a01384f831149c1d12786dc6a9e1d322e295dfd9",
"md5": "6a72d0d0eaba0ec19f32ea07a8bdbc6e",
"sha256": "ac5b4281fcb270b4cbcd4201c3ef9b14a5b8d0fa87813faca02e025b31890325"
},
"downloads": -1,
"filename": "keycardai_oauth-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6a72d0d0eaba0ec19f32ea07a8bdbc6e",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 36757,
"upload_time": "2025-09-10T16:45:11",
"upload_time_iso_8601": "2025-09-10T16:45:11.359962Z",
"url": "https://files.pythonhosted.org/packages/99/fb/1801c2a4d6b25c4d9543a01384f831149c1d12786dc6a9e1d322e295dfd9/keycardai_oauth-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "05bb7fba59da1496b344d00d0021d3a789a2622df60a50490a4a5593bf5b2fbc",
"md5": "5175baacc3c79c340b50174b47a476c0",
"sha256": "ed02d0ae5f6dbee4e752aa8344ba620705db617f5b9413167accf499c05399aa"
},
"downloads": -1,
"filename": "keycardai_oauth-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "5175baacc3c79c340b50174b47a476c0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 61214,
"upload_time": "2025-09-10T16:45:12",
"upload_time_iso_8601": "2025-09-10T16:45:12.928563Z",
"url": "https://files.pythonhosted.org/packages/05/bb/7fba59da1496b344d00d0021d3a789a2622df60a50490a4a5593bf5b2fbc/keycardai_oauth-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-09-10 16:45:12",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "keycardai",
"github_project": "python-sdk",
"github_not_found": true,
"lcname": "keycardai-oauth"
}