Skip to main content

Type Alias: EmailAuthHandlers

EmailAuthHandlers = object

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

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:380

The modes that were enabled.


paths​

paths: Required<EmailAuthPaths>

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

Resolved paths for every mounted handler.


requestPasswordReset?​

optional requestPasswordReset?: EmailAuthHandler

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


resetPassword?​

optional resetPassword?: EmailAuthHandler

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


sendEmailCode?​

optional sendEmailCode?: EmailAuthHandler

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


optional sendMagicLink?: EmailAuthHandler

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


signIn?​

optional signIn?: EmailAuthHandler

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


signUp?​

optional signUp?: EmailAuthHandler

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


verifyEmail?​

optional verifyEmail?: EmailAuthHandler

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


verifyEmailCode?​

optional verifyEmailCode?: EmailAuthHandler

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


optional verifyMagicLink?: EmailAuthHandler

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