security.lockout

Page actions AI-ready formats and sharing
Open LLM text
Share with AI
Ask Claude Ask ChatGPT Ask Gemini Ask Copilot

Login lockout primitives.

Framework-level helper for tracking repeated authentication failures. Applications call this from login handlers. Supports pluggable backends for Redis-backed lockout across workers.

Login lockout primitives.

Framework-level helper for tracking repeated authentication failures. Applications call this from login handlers. Supports pluggable backends for Redis-backed lockout across workers.

security.lockout

Name Type Default Description
type
qualified_name
element_type
description
source_file
line_number
is_autodoc
autodoc_element
_autodoc_template
_autodoc_url_path
_autodoc_page_type
title
doc_content_hash

Symbols on this page

LockoutBackend
class

Protocol for lockout storage backends.

LockoutConfig
class

Lockout policy configuration.

_InMemoryLockoutBackend
class

In-memory lockout backend.

LoginLockout
class

Track login failures and compute lockout windows.

View source · /home/runner/work/chirp/chirp/site/../src/chirp/security/lockout.py:1