Litestar Security Litestar Security Litestar Security
    • Introduction Core architecture and application-ownership boundaries.
    • Getting Started Install Litestar Security and configure your first route policy.
    • Authentication & Guards Compile route policies and enforce roles, scopes, tenants, and assurance.
    • Local Accounts Sessions, rotating refresh families, MFA, passkeys, and step-up grants.
    • Runnable Examples Try session, token, hybrid, OAuth, IAP, and team apps locally.
    • Provider Overview Choose between local accounts, OAuth/OIDC, IAP, API keys, and workload JWTs.
    • JWT Signing & JWKS Local key rings, OIDC discovery, and bounded remote JWKS caches.
    • OAuth 2.1 Resource Server Serve RFC 9728 protected-resource metadata and Bearer hints.
    • WebSocket Security Single-use connect tokens, origin checks, and live revocation supervision.
    • Generated Routes Inspect OpenAPI tags, wire schemas, and /auth route contracts.
    • Composing Plugins Coordinate route exclusions, asset routers, and sibling plugins.
    • Rate Limiting Atomic multi-bucket admission and trusted forwarded-IP extraction.
    • Hardening & Headers CSRF boundaries, static response headers, CSP nonces, and worker budgets.
    • Custom Stores & Testing Implement persistence protocols and run backend conformance checks.
  • API Reference
    • Changelog Review released features, breaking changes, and fixes.
    • Contributing Follow the local development and verification workflow.
    • Litestar Organization Learn about the Litestar ecosystem and maintainers.
/

Getting Started

  • Introduction
  • Getting Started
  • Authentication and authorization
  • Where this differs from plain Litestar
  • Runnable Examples

Accounts & Providers

  • Accounts, factors, and recovery
  • MFA secret protection
  • Require MFA after password login
  • Generated Routes
  • External Providers
  • JWT Signing & JWKS
  • OAuth 2.1 Resource Server
  • WebSocket Security

Operations & Extending

  • Composing Plugins
  • Rate Limiting
  • Hardening & Headers
  • Customization and application ownership
  • Verify your backend

Reference & Project

  • API Reference
  • Contributing
  • Changelog
litestar-security 0 0
  1. Litestar Security /
  2. Overview: module code

All modules for which code is available

  • litestar_security.authentication
  • litestar_security.config
  • litestar_security.context
  • litestar_security.guards
  • litestar_security.headers
  • litestar_security.plugin
  • litestar_security.schema
  • litestar_security.testing
  • litestar_security.workers

2026, Cody Fincher

Made with Sphinx and Shibuya theme.