Skip to main content

OAuth 2.0 Token Introspection service for Swarmauri

Project description

Swamauri Logo

PyPI - Downloads GitHub Hits PyPI - Python Version PyPI - License
PyPI - swarmauri-token-introspection


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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

swarmauri_tokens_introspection-0.3.0.dev4.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file swarmauri_tokens_introspection-0.3.0.dev4.tar.gz.

File metadata

File hashes

Hashes for swarmauri_tokens_introspection-0.3.0.dev4.tar.gz
Algorithm Hash digest
SHA256 60ab13f680c9ddc2b696d1652e9e6e779976512f4222b782cc34512b136b0344
MD5 33c34dc0faeab5d72e9c8c91c3b5f469
BLAKE2b-256 7c860887a39602d7c514f0df9381f8e8dbd04ecd9e98fbc39aeacd5297d87811

See more details on using hashes here.

File details

Details for the file swarmauri_tokens_introspection-0.3.0.dev4-py3-none-any.whl.

File metadata

File hashes

Hashes for swarmauri_tokens_introspection-0.3.0.dev4-py3-none-any.whl
Algorithm Hash digest
SHA256 d1106c99f351ad633a63a25fc8df815cc018c77aa4afb7e3067c7ef8eb851c09
MD5 6b96a9260204605d3584951dcee7550c
BLAKE2b-256 ea4183adb4745ba74d64257e951bbd7507f92a72574a32f2d0f839d2f9de9c12

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page