Skip to main content

Type Alias: OneTimeTokenPurpose

OneTimeTokenPurpose = "magicLink" | "emailCode" | "emailVerification" | "passwordReset"

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

Why a one-time token was issued. Persisted alongside the hash so a token minted for one flow can never be redeemed by another.