Skip to main content

Module validator

Module validator 

Source

Structs§

AuthCache
A time-bounded, capacity-limited LRU cache for authorization decisions.
AuthEntry 🔒

Constants§

AUTH_CACHE_DEFAULT_CAPACITY
Default maximum number of distinct (access_key, bucket, method) entries held in the authorization cache. Once the limit is reached the least-recently-used entry is evicted automatically — no background sweep task needed.

Functions§

validate_request
Invoke the Python validator callback for a single request.