Skip to main content

Module csrf

Module csrf 

Source
Expand description

CSRF state management with pluggable backends.

The in-memory store delegates expiry handling to shared_state::ttl::TtlCache instead of hand-rolling a TTL map.

Structs§

MemoryCsrfStore
In-memory CSRF store with TTL-backed one-time semantics.

Enums§

CsrfStoreType
Multi-backend CSRF store.

Traits§

CsrfStore
CSRF state store trait.