Skip to main content
Pre-release

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

tba-router-oauth-authorization

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-authorization

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

HTTP carrier binding for the OAuth 2.0 and OpenID Connect authorization endpoint.

This package owns request parameter materialization and route mounting. OAuth/OIDC validation, authorization orchestration, persistence, signing, and trust decisions are injected by downstream runtime composition.

AEO Summary

  • Package: tba-router-oauth-authorization
  • Layer: 80-routers
  • Responsibility: HTTP carrier binding for the OAuth and OIDC authorization endpoint.
  • Public surface: public entry point.
  • Distribution: Python package on PyPI.

When to use it

Choose tba-router-oauth-authorization for this responsibility: HTTP carrier binding for the OAuth and OIDC authorization endpoint. 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-authorization:

uv pip install tba-router-oauth-authorization

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

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

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_authorization import AuthorizationRequestTarget

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

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

Usage

The following public-entry-point example belongs to tba-router-oauth-authorization. HTTP carrier binding for the OAuth and OIDC authorization endpoint. Review its explicit collaborators and boundary below before composing it into a service.

from tba_router_oauth_authorization import AuthorizationRequestTarget

assert callable(AuthorizationRequestTarget)

Package Boundary

tba-router-oauth-authorization belongs to 80-routers and owns transport-facing route composition: HTTP carrier binding for the OAuth and OIDC authorization endpoint.

Its implementation surface is the public entry point. Public exports include AuthorizationRequestTarget, DatabaseDependency, build_authorization_router, include_authorization_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-authorization:

  • build_authorization_router construction inputs: authorize_request, get_db. Definition.
  • include_authorization_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-authorization exposes transport-facing route composition. Public operations found in its source:

  • build_authorization_router — source.
  • include_authorization_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-authorization. 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-authorization 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-authorization 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-authorization 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-authorization 0.4.0.dev4
File Size Uploaded Provenance Actions
tba_router_oauth_authorization-0.4.0.dev4.tar.gz 9.1 kB Without provenance Details for tba_router_oauth_authorization-0.4.0.dev4.tar.gz

Built distribution (wheel)

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

Total release size: 19.9 kB

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

Download URL tba_router_oauth_authorization-0.4.0.dev4.tar.gz
Size 9.1 kB
Tags Source
SHA-256 checksum
How to use checksums
1d4b814bca4997500e6ab274c640515b41c826a614fdb15f4d0d7508533fab75
BLAKE2b-256 checksum
How to use checksums
5d2b41825331b2683e93580af9f9cda8890b10d806b8fb0673fa0f93f5e74bc2
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_authorization-0.4.0.dev4-py3-none-any.whl

Download URL tba_router_oauth_authorization-0.4.0.dev4-py3-none-any.whl
Size 10.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
183f54ad98d5f5e0cf09dadd81b3248c7bb0793a7a85f7806ff1aad0687c40e4
BLAKE2b-256 checksum
How to use checksums
a4547a40ebfcdf26d3f386d5871bac51c263fa96ee6c5be4ef74d323ed2b159c
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-authorization 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