OAuth 2.0 Token Introspection service for Swarmauri
Project description
swarmauri-token-introspection
An OAuth 2.0 token introspection service plugin implementing RFC 7662 for verifying opaque access tokens.
Purpose
This package provides an asynchronous token service that validates opaque tokens against a remote introspection endpoint and enforces standard claim checks.
Installation
To install swarmauri-token-introspection, you can use Poetry or pip:
pip install swarmauri-token-introspection
Usage
from swarmauri_tokens_introspection import IntrospectionTokenService
service = IntrospectionTokenService("https://auth.example.com/introspect", client_id="id", client_secret="secret")
claims = await service.verify("opaque-token")
License
Apache-2.0 © Swarmauri
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 swarmauri_tokens_introspection-0.3.0.dev4.tar.gz.
File metadata
- Download URL: swarmauri_tokens_introspection-0.3.0.dev4.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60ab13f680c9ddc2b696d1652e9e6e779976512f4222b782cc34512b136b0344
|
|
| MD5 |
33c34dc0faeab5d72e9c8c91c3b5f469
|
|
| BLAKE2b-256 |
7c860887a39602d7c514f0df9381f8e8dbd04ecd9e98fbc39aeacd5297d87811
|
File details
Details for the file swarmauri_tokens_introspection-0.3.0.dev4-py3-none-any.whl.
File metadata
- Download URL: swarmauri_tokens_introspection-0.3.0.dev4-py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1106c99f351ad633a63a25fc8df815cc018c77aa4afb7e3067c7ef8eb851c09
|
|
| MD5 |
6b96a9260204605d3584951dcee7550c
|
|
| BLAKE2b-256 |
ea4183adb4745ba74d64257e951bbd7507f92a72574a32f2d0f839d2f9de9c12
|