Skip to main content

Type Alias: EmailAuthHandlers

EmailAuthHandlers = object

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

The mounted flows. A handler is present only when its mode is enabled, so an adapter can mount exactly what the application configured.

Properties​

modes​

modes: EmailAuthMode[]

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

The modes that were enabled.


paths​

paths: Required<EmailAuthPaths>

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

Resolved paths for every mounted handler.


requestPasswordReset?​

optional requestPasswordReset?: EmailAuthHandler

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


resetPassword?​

optional resetPassword?: EmailAuthHandler

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


sendEmailCode?​

optional sendEmailCode?: EmailAuthHandler

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


optional sendMagicLink?: EmailAuthHandler

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


signIn?​

optional signIn?: EmailAuthHandler

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


signUp?​

optional signUp?: EmailAuthHandler

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


verifyEmail?​

optional verifyEmail?: EmailAuthHandler

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


verifyEmailCode?​

optional verifyEmailCode?: EmailAuthHandler

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


optional verifyMagicLink?: EmailAuthHandler

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