Type Alias
Runs work once the response is out and keeps the invocation alive until it settles. A bare unawaited promise is not a substitute: a serverless platform suspends the function when the response is sent, and the work is cut off mid-connection.
Rate limiting is for production: parallel e2e sign-ins share one IP (see isAuthRateLimited).
Everything the auth configuration depends on, injected so a test can hand it a container database, a real SMTP inbox and a local captcha verifier.