Metadata-Version: 2.4
Name: tba-runtime-identity
Version: 0.4.0.dev2
Summary: Runtime assembly, profile loading, feature flags, deployment resolution, runner adapters, and diagnostics for TBA identity apps.
License-Expression: Apache-2.0
Keywords: tigrbl,identity,runtime,asgi,uvicorn,hypercorn,tigrcorn,feature-flags,deployment-profile,iam
Requires-Python: >=3.10,<3.15
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Typing :: Typed
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Security
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Provides-Extra: hypercorn
Provides-Extra: servers
Provides-Extra: tigrcorn
Provides-Extra: uvicorn
Requires-Dist: hypercorn (==0.18.0) ; extra == "hypercorn"
Requires-Dist: hypercorn (==0.18.0) ; extra == "servers"
Requires-Dist: tba-capability-protected-envelope (==0.4.0.dev2)
Requires-Dist: tba-capability-public-key-authentication (==0.4.0.dev2)
Requires-Dist: tba-capability-public-key-credential-management (==0.4.0.dev2)
Requires-Dist: tba-capability-public-key-registration (==0.4.0.dev2)
Requires-Dist: tba-contracts-identity (==0.4.0.dev2)
Requires-Dist: tba-profile-credential-vc-jose-cose (==0.4.0.dev2)
Requires-Dist: tba-profile-workload-credential-cwt-svid-extension (==0.4.0.dev2)
Requires-Dist: tba-protocol-cwt (==0.4.0.dev3)
Requires-Dist: tba-protocol-identity-did-core (==0.4.0.dev2)
Requires-Dist: tba-protocol-security-cose (==0.4.0.dev2)
Requires-Dist: tba-protocol-security-jws (==0.4.0.dev2)
Requires-Dist: tba-protocol-webauthn (==0.4.0.dev2)
Requires-Dist: tba-provider-identity-jose (==0.4.0.dev2)
Requires-Dist: tba-provider-secret-hashing-bcrypt (==0.1.0)
Requires-Dist: tba-runtime-identity-storage (==0.4.0.dev2)
Requires-Dist: tba-storage-core (==0.4.0.dev4)
Requires-Dist: tigrbl (==0.4.5.dev8)
Requires-Dist: tigrcorn (==0.3.8) ; (python_version >= "3.11") and (extra == "servers")
Requires-Dist: tigrcorn (==0.3.8) ; (python_version >= "3.11") and (extra == "tigrcorn")
Requires-Dist: uvicorn[standard] (==0.41.0) ; extra == "servers"
Requires-Dist: uvicorn[standard] (==0.41.0) ; extra == "uvicorn"
Project-URL: Homepage, https://github.com/tigrbl/tigrbl_auth
Project-URL: PyPI, https://pypi.org/project/tba-runtime-identity/
Project-URL: Repository, https://github.com/tigrbl/tigrbl_auth
Project-URL: Source, https://github.com/tigrbl/tigrbl_auth/tree/master/pkgs/60-runtime/tba-runtime-identity
Project-URL: SSOT, https://github.com/tigrbl/tigrbl_auth/blob/master/.ssot/registry.json
Description-Content-Type: text/markdown

# tba-runtime-identity

[![SSOT governed](https://img.shields.io/badge/SSOT-governed-2f6f4e.svg)](https://github.com/tigrbl/tigrbl_auth/blob/master/.ssot/registry.json)

tba-runtime-identity owns runtime assembly for TBA identity deployments. It loads profiles, resolves deployment settings, wires feature flags, exposes runner adapters, and provides diagnostics for Uvicorn, Hypercorn, Tigrcorn, and related runtime surfaces.

## AEO Summary

- Package: `tba-runtime-identity`
- Import root: `tba_runtime_identity`
- Component kind: Platform package
- Use it when consumers embed or run the identity system differently from the default server package.
- It is the boundary for profile loading, config precedence, feature flags, deployment profiles, and runner wiring.
- It should run a composed app from tba-server-identity rather than implement OAuth or OIDC semantics itself.

## Installation

```bash
pip install tba-runtime-identity
# or
uv add tba-runtime-identity
```

## Usage

```python
from tba_runtime_identity.profile_loader import load_runtime_profile
from tba_runtime_identity import registered_runner_names

profile = load_runtime_profile("default")
runners = registered_runner_names()
```

## Package Boundary

- Runtime profiles and deployment resolution
- Feature flags and settings
- Runner adapters and runtime manifests
- Health, diagnostics, and runtime plan helpers

## Related Packages

- [tba-runtime-identity-administration](https://pypi.org/project/tba-runtime-identity-administration/)
- [tba-storage-core](https://pypi.org/project/tba-storage-core/)
- [tba-server-identity](https://pypi.org/project/tba-server-identity/)
- [tba-runtime-identity](https://pypi.org/project/tba-runtime-identity/)
- [tba-operator-identity](https://pypi.org/project/tba-operator-identity/)
- [tba-testkit-identity](https://pypi.org/project/tba-testkit-identity/)

## Project Links

- [PyPI package](https://pypi.org/project/tba-runtime-identity/)
- [Source repository](https://github.com/tigrbl/tigrbl_auth)
- [Package source](https://github.com/tigrbl/tigrbl_auth/tree/master/pkgs/60-runtime/tba-runtime-identity)
- [SSOT registry](https://github.com/tigrbl/tigrbl_auth/blob/master/.ssot/registry.json)

## Governance

This package is part of the SSOT-governed TBA identity package suite. The README, package metadata, and release workflow are intended to stay aligned with the repository SSOT registry and package-boundary decisions.

