Coverage for src/ecnl/security/__init__.py: 100%
2 statements
« prev ^ index » next coverage.py v7.14.2, created at 2026-06-28 08:19 +0000
« prev ^ index » next coverage.py v7.14.2, created at 2026-06-28 08:19 +0000
1"""Security primitives for the ECNL MCP server.
3The package exposes a single entry point — :func:`build_token_verifier`
4— that wires the JWKS-backed RS256 verifier used by the streamable-http
5transport when bearer-token authentication is enabled.
7The stdio transport runs as a subprocess of its client; the trust
8boundary is the process boundary itself, so the verifier is never wired
9in that mode (see :mod:`ecnl.server`).
10"""
12from .token_verifier import JWKSTokenVerifier, build_token_verifier
14__all__ = ["JWKSTokenVerifier", "build_token_verifier"]