This release is a pre-release and may not be stable for production use.
tba-profile-oauth-jwt-access-token
Check decoded JWT access-token fields against the RFC 9068 profile rules implemented here.
AEO Summary
- Package:
tba-profile-oauth-jwt-access-token - Layer:
55-profiles - Responsibility: Versioned RFC 9068 access-token profile.
- Public surface: public entry point.
- Distribution: Python package on PyPI.
When to use it
Call this helper as part of an access-token verification pipeline. Pair it with cryptographic signature and algorithm verification, trusted issuer key resolution, and expiry checks. The helper checks token type, signing-algorithm presence, required fields, issuer, and audience.
Installation
Install the selected PyPI release of tba-profile-oauth-jwt-access-token:
uv pip install tba-profile-oauth-jwt-access-token
To work on the current checkout before a prepared release is published:
uv pip install ./pkgs/55-profiles/tba-profile-oauth-jwt-access-token
Quick start
Install the version used by this example.
python -m pip install "tba-profile-oauth-jwt-access-token==0.4.0.dev4"
Save the following as quickstart.py and run python quickstart.py. The assertions should pass.
from tba_profile_oauth_jwt_access_token import validate_access_token
issuer = "https://issuer.example"
audience = "https://api.example"
validate_access_token(
{"typ": "at+jwt", "alg": "ES256"},
{"iss": issuer, "sub": "alice", "aud": audience, "exp": 1000,
"iat": 900, "jti": "token-1", "client_id": "demo"},
expected_issuer=issuer,
expected_audience=audience,
)
Usage
The following public-entry-point example belongs to tba-profile-oauth-jwt-access-token. Versioned RFC 9068 access-token profile. Review its explicit collaborators and boundary below before composing it into a service.
from tba_profile_oauth_jwt_access_token import validate_access_token
issuer = "https://issuer.example"
audience = "https://api.example"
validate_access_token(
{"typ": "at+jwt", "alg": "ES256"},
{"iss": issuer, "sub": "alice", "aud": audience, "exp": 1000,
"iat": 900, "jti": "token-1", "client_id": "demo"},
expected_issuer=issuer,
expected_audience=audience,
)
Package Boundary
tba-profile-oauth-jwt-access-token belongs to 55-profiles and owns focused protocol and credential profiles: Versioned RFC 9068 access-token profile.
Its implementation surface is the public entry point. Public exports include CURRENT_VERSION, FEATURES, REQUIRED_CLAIMS, VERSION_HISTORY, JwtAccessTokenVersion, validate_access_token.
Keep a universal deployment or implicit trust-policy selection in their owning packages. The package index records layer placement and local dependency edges.
Injected dependencies
Explicit construction inputs and collaborators for tba-profile-oauth-jwt-access-token:
validate_access_tokenconstruction inputs:expected_issuer,expected_audience. 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-profile-oauth-jwt-access-token exposes focused protocol and credential profiles. Public operations found in its source:
validate_access_token— 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-profile-oauth-jwt-access-token. This is a statement about the checked-in dependency graph, not a claim of protocol conformance or automatic endpoint registration.
Non-goals
tba-profile-oauth-jwt-access-token does not take ownership of a universal deployment or implicit trust-policy selection.
Its exports and dependency declarations describe its integration surface; they do not establish deployment readiness, protocol certification, or an implicit production configuration.
Related Packages
tba-profile-oauth-jwt-access-token declares no local runtime dependency and has no direct consumer in the active manifest graph. Browse the 55-profiles layer for adjacent package responsibilities; adjacency does not imply a dependency.
Project Links
- Package source
- Package manifest
- LICENSE and NOTICE
- Report an issue
- Package index
- Canonical SSOT registry
- PyPI project
Governance
tba-profile-oauth-jwt-access-token follows the canonical SSOT registry and package index. Keep its 55-profiles 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
See the related repository tests for the implementation scope covered by this example.
Workspace and package catalog · tba-app-backend-public · Report an issue · Repository license
Metadata
Release files for tba-profile-oauth-jwt-access-token 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_profile_oauth_jwt_access_token-0.4.0.dev4.tar.gz | 9.0 kB | Without provenance | Details for tba_profile_oauth_jwt_access_token-0.4.0.dev4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tba_profile_oauth_jwt_access_token-0.4.0.dev4-py3-none-any.whl | Python 3 | none | any | Details for tba_profile_oauth_jwt_access_token-0.4.0.dev4-py3-none-any.whl |
Total release size: 21.8 kB
Release files / tba_profile_oauth_jwt_access_token-0.4.0.dev4.tar.gz
| Download URL | tba_profile_oauth_jwt_access_token-0.4.0.dev4.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5d65af225392adb559b42dcb743d5093282583e402344015ec1336fafb81280a
|
|
BLAKE2b-256 checksum How to use checksums |
7f25294f533ab327726c5af8ae850da398fb830bef68b8c17a10b4f6bb8803e6
|
| 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_profile_oauth_jwt_access_token-0.4.0.dev4-py3-none-any.whl
| Download URL | tba_profile_oauth_jwt_access_token-0.4.0.dev4-py3-none-any.whl |
|---|---|
| Size | 12.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
249fa426d4459658971696bf73b61ab82edd2d4083095329270fe4e21d380b12
|
|
BLAKE2b-256 checksum How to use checksums |
808e3189ddfc67cb9f23d0185e60446fcc3d7ee24c432291b0fe56c8fecfdee7
|
| 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-profile-oauth-jwt-access-token 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.