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.dev3.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.dev3.tar.gz.

File metadata

File hashes

Hashes for swarmauri_tokens_introspection-0.3.0.dev3.tar.gz
Algorithm Hash digest
SHA256 5c1ee158e9c9c29dfc1be6b3464c5edd54bc77566993fa9483e36cc4da67a55a
MD5 431e6cfb243f25e7c15a2bbe25b87673
BLAKE2b-256 a4e75b38f353920f590ee824386c230dd6e30448be9316f3f58e7fd6692bb065

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swarmauri_tokens_introspection-0.3.0.dev3-py3-none-any.whl
Algorithm Hash digest
SHA256 93eef4f8b6afa130bc816d7a26d5a6207c7bb143666c7e7e494dc18006b34872
MD5 8a53ae4b1228fd57499f4d4efbf5d01b
BLAKE2b-256 b5be8c0be7793bed495ac275b1ecdb1bb617a49693d39fd171d1cf92a7cf0004

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