Module
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.
The configured auth instance type.
Builds the Better Auth instance the application runs on.
The auth instance this server process uses, built on first call from the validated environment.
What the auth instance runs on in a deployed process, read from the validated environment.
Work that runs once the response is out. It settles either way: whatever can fail inside it is caught and reported there.