Coverage for src/usls/security/__init__.py: 100%
2 statements
« prev ^ index » next coverage.py v7.15.3, created at 2026-08-05 10:11 +0000
« prev ^ index » next coverage.py v7.15.3, created at 2026-08-05 10:11 +0000
1"""Security primitives for the USL Super League 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:`usls.server`).
10"""
12from .token_verifier import JWKSTokenVerifier, build_token_verifier
14__all__ = ["JWKSTokenVerifier", "build_token_verifier"]