pub async fn auth_middleware(
__arg0: Extension<AuthConfig>,
request: Request<Body>,
next: Next,
) -> ResponseExpand description
Authentication middleware that checks for valid API key or JWT.
Checks for credentials in:
Authorization: Bearer <key_or_jwt>headerX-API-Key: <key>header