Skip to content

Interface: PasswordlessAuthOptions

appName: string


authorizeIdentity: AuthorizeIdentity


optional basePath?: string


baseURL: string


codeTtlSeconds: number


optional logoutRedirectPath?: string

Same-origin path returned after logout. Defaults to /.


maxAttempts: number


optional message?: string


secret: string


optional sessionCookieName?: string


optional sessionCutoffMs?: number


sessionTtlSeconds: number


storage: AuthStorage


optional subject?: string

sendCode(email, code, options): Promise<void>

string

string

AuthEmailOptions

Promise<void>