Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

tba-router-oauth-token-exchange

TBA · Tigrbl Auth

Checkout: 0.4.0.dev4 Python: >=3.10,<3.16 License: Apache-2.0 Notice: attribution Layer: 80 routers PyPI version for tba-router-oauth-token-exchange

Monthly PyPI downloads for tba-router-oauth-token-exchange README hits for tba-router-oauth-token-exchange SSOT: governed Evidence: verification

Thin HTTP carrier for RFC 8693 token exchange. Runtime policy, token verification, issuance, persistence, and auditing are injected by layer 60.

AEO Summary

  • Package: tba-router-oauth-token-exchange
  • Layer: 80-routers
  • Responsibility: HTTP carrier binding for RFC 8693 token exchange.
  • Public surface: public entry point.
  • Distribution: Python package on PyPI.

When to use it

Choose tba-router-oauth-token-exchange for this responsibility: HTTP carrier binding for RFC 8693 token exchange. Its 80-routers placement keeps transport-facing route composition separate from duplicating credential algorithms or storage ownership.

Installation

Install the selected PyPI release of tba-router-oauth-token-exchange:

uv pip install tba-router-oauth-token-exchange

To work on the current checkout before a prepared release is published:

uv pip install ./pkgs/80-routers/tba-router-oauth-token-exchange

Quick start

With uv available, save the example as quickstart.py. This isolated Python 3.12 command requires the selected version to be available on PyPI; Installation also documents the checkout workflow.

from tba_router_oauth_token_exchange import TokenExchangeTarget

assert callable(TokenExchangeTarget)
uv run --isolated --no-project --python 3.12 --with "tba-router-oauth-token-exchange==0.4.0.dev4" python quickstart.py

The import and assertion succeed when the TokenExchangeTarget entry point is available.

Usage

The following public-entry-point example belongs to tba-router-oauth-token-exchange. HTTP carrier binding for RFC 8693 token exchange. Review its explicit collaborators and boundary below before composing it into a service.

from tba_router_oauth_token_exchange import TokenExchangeTarget

assert callable(TokenExchangeTarget)

Package Boundary

tba-router-oauth-token-exchange belongs to 80-routers and owns transport-facing route composition: HTTP carrier binding for RFC 8693 token exchange.

Its implementation surface is the public entry point. Public exports include TokenExchangeTarget, build_token_exchange_router, include_token_exchange_endpoint.

Keep duplicating credential algorithms or storage ownership in their owning packages. The package index records layer placement and local dependency edges.

Injected dependencies

Explicit construction inputs and collaborators for tba-router-oauth-token-exchange:

  • build_token_exchange_router construction inputs: token_exchange_request. Definition.
  • include_token_exchange_endpoint construction inputs: enabled. Definition.

Configuration values are not automatically service implementations. Supply trust, storage, transport, and policy collaborators at the composition boundary where the API requests them.

Operations and readiness

tba-router-oauth-token-exchange exposes transport-facing route composition. Public operations found in its source:

  • build_token_exchange_router — source.
  • include_token_exchange_endpoint — source.

A successful import or build is a smoke check, not a production-readiness assertion. Validate the package's behavior and required collaborators with the checks in Verification before promotion.

Protocol consumers

No active layer-50 manifest declares a direct runtime dependency on tba-router-oauth-token-exchange. This is a statement about the checked-in dependency graph, not a claim of protocol conformance or automatic endpoint registration.

Other direct consumers include tba-app-backend-core, tba-app-backend-public.

Non-goals

tba-router-oauth-token-exchange does not take ownership of duplicating credential algorithms or storage ownership.

Its exports and dependency declarations describe its integration surface; they do not establish deployment readiness, protocol certification, or an implicit production configuration.

Direct downstream consumers:

Governance

tba-router-oauth-token-exchange follows the canonical SSOT registry and package index. Keep its 80-routers ownership, public imports, declared dependencies, examples, and release metadata aligned.

Changes must pass the README standards gate, package checks, and the evidence requirements relevant to the changed behavior. Update SSOT through the repository's CLI workflow when changing governed claims or boundaries.

Verification

A prior published-version quick start informed this example. A registry badge is not evidence that this checkout's selected version or example has been verified against PyPI. See the public package entry point.

Metadata

Release files for tba-router-oauth-token-exchange 0.4.0.dev4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tba-router-oauth-token-exchange 0.4.0.dev4
File Size Uploaded Provenance Actions
tba_router_oauth_token_exchange-0.4.0.dev4.tar.gz 8.2 kB Without provenance Details for tba_router_oauth_token_exchange-0.4.0.dev4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tba-router-oauth-token-exchange 0.4.0.dev4
File Interpreter ABI Platform Actions
tba_router_oauth_token_exchange-0.4.0.dev4-py3-none-any.whl Python 3 none any Details for tba_router_oauth_token_exchange-0.4.0.dev4-py3-none-any.whl

Total release size: 18.1 kB

Release files / tba_router_oauth_token_exchange-0.4.0.dev4.tar.gz

Download URL tba_router_oauth_token_exchange-0.4.0.dev4.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5753bfe801ac36a7cddb15f029c0fc7930b435dc50d96b1c5c1b5b960ee6833f
BLAKE2b-256 checksum
How to use checksums
bb27806e51033cbb8008a508b28246c749e88f20ba10dbbfbb0f1c42a0450c90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / tba_router_oauth_token_exchange-0.4.0.dev4-py3-none-any.whl

Download URL tba_router_oauth_token_exchange-0.4.0.dev4-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
51e8748dd454245530bc72c648d19e3e16c6604a537ab3aaa1ba5c0304f90bea
BLAKE2b-256 checksum
How to use checksums
ea42d70b89ed8a619374001e20800d81830b3edaffcb64e0640c71841610225c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for tba-router-oauth-token-exchange 0.4.0.dev4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page