Skip to main content

Type Alias: EmailAuthMode

EmailAuthMode = "password" | "magicLink" | "emailCode" | "emailVerification" | "passwordReset"

Defined in: auth-core/src/emailAuthTypes.ts:12

The credential flows an application turns on. Each mode mounts its own handlers and requires its own options, so an application that only signs users in with a mailed code never exposes a password endpoint.