This release is a pre-release and may not be stable for production use.
tba-router-oauth-authorization
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_routerconstruction inputs:authorize_request,get_db. Definition.include_authorization_endpointconstruction 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:
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.
Related Packages
Direct downstream consumers:
Project Links
- Package source
- Package manifest
- LICENSE and NOTICE
- Report an issue
- Package index
- Canonical SSOT registry
- PyPI project
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)
| 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)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| 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
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.