pub async fn require_auth(
__arg0: State<SharedAuth>,
request: Request,
next: Next,
) -> ResponseExpand description
Axum middleware that enforces authentication on every JMAP route it
guards. Successful authentication attaches a Principal to the request
extensions; failure short-circuits the chain with a 401.