auth_middleware

Function auth_middleware 

Source
async fn auth_middleware(
    __arg0: State<AppState>,
    req: Request<Body>,
    next: Next,
) -> Response
Expand description

Auth middleware matching Go pkg/authkey/authkey.go:18-42.