← @mortar-kit/admin

SignInParamsinterface

import { SignInParams } from '@mortar-kit/admin'

interface SignInParams

The sign-in page's search parameters, as the auth routes set them.

Properties

error?: string

Why the last attempt failed: denied, expired, invalid, invalid-email or failed.

method?: string

With sent: the email method that sent it.

sent?: string

The address an email was sent to (if it may sign in).

email?: string

From an emailed link: its address and token.

token?: string
returnTo?: string

Where to go after signing in.