Reference
configureAuth
Updates the process-wide auth defaults used by the guard helpers. Configure redirect targets and claim serialization before handling requests that call `requireSession()`, `requireRole()`, or `requirePermission()`. For per-request or per-tenant overrides, pass `config` to `runWithAuthRequest()` instead of calling `configureAuth()` while requests are in flight.
Signature
function configureAuth(config: AuthConfig): void