Skip to main content

Module middleware

Module middleware 

Source
Expand description

Custom middlewares

Structs§

PermissionCheckFactory
Wrapper struct for permission check middleware factories

Functions§

optional_auth
request_id_middleware
Add or generate request ID, attach a request span carrying its short form, and store the full id in extensions. The custom log formatter (crate::log::CloudilloFormat) uses the request span’s id field to prefix every event line with REQ:<short>.
require_auth

Type Aliases§

PermissionCheckInput
PermissionCheckOutput