Options for configuring the LastLogin service.
The email address or addresses of the user. It can also be passed using the LASTLOGIN_EMAIL environment variable.
optional
verifyEmail: (email: string) => Promise<boolean> | boolean
A function to verify the email address. It can return a boolean or a Promise that resolves to a boolean.
optional
provider: "google"
| "github"
| "facebook"
| "gitlab"
| "hello"
The provider name for the login service.
optional
publicRoutes: string[]
An array of route paths that do not require authentication.
optional
privateRoutes: string[]
An array of route paths that require authentication.