Expand description
Static-Bearer authentication middleware for the NotedThat API.
Functions§
- auth_
middleware - Axum middleware that validates the
Authorization: Bearer <token>header. - extract_
request_ id - Extract the
x-request-idvalue from request extensions, falling back to a generated UUID if theSetRequestIdmiddleware hasn’t run yet.