pub async fn auth_middleware(
__arg0: State<Arc<ApiKeyStore>>,
request: Request,
next: Next,
) -> Result<Response, StatusCode>Expand description
Authentication middleware for axum.
pub async fn auth_middleware(
__arg0: State<Arc<ApiKeyStore>>,
request: Request,
next: Next,
) -> Result<Response, StatusCode>Authentication middleware for axum.