跳转至

apogee-auth-runtime

FastAPI/Starlette middleware that wires apogee-auth into a running app.

This page is being expanded

The tables below are generated from the package source, so they are accurate. Narrative guides and worked examples are being written module by module.

Public API

Everything below is exported from the package root, so from apogee_auth_runtime import X works for each name.

Layer Symbols
Domain JwtKeyPair
Domain · Exceptions AuthError, InvalidTokenError, TokenRevokedError
Domain · Protocols (ports) IJwtService, IPasswordHasher, ITokenBlacklist
Infrastructure Argon2PasswordHasher, BcryptPasswordHasher, HS256JwtService, InMemoryTokenBlacklist, JoseJwtService, PlainPasswordHasher, RedisTokenBlacklist

Install

Bash
pip install apogee-auth-runtime

The base install has no required third-party dependency. Each extra unlocks one adapter.

Extra Pulls in
argon2 argon2-cffi>=23.0
bcrypt bcrypt>=4.0
pyjwt pyjwt[crypto]>=2.8
joserfc joserfc>=0.10
redis redis>=5.0