import { DaffAuthRoutingConfig } from '@daffodil/auth/routing'
An interface for providing @daffodil/auth/routing
with necessary config values.
interface DaffAuthRoutingConfig {
resetPasswordTokenParam: string
redirectUrlParam: string
authCompleteRedirectPath: string
logoutRedirectPath: string
tokenExpirationRedirectPath: string
}
resetPasswordTokenParam string |
---|
The name of the query param to which the reset password token will be set. |
redirectUrlParam string |
---|
The name of the query param from which the redirect URL will be fetched.
Defaults to |
authCompleteRedirectPath string |
---|
The path to which the user will be redirected when they are logged in and the auth token is stored.
Defaults to |
logoutRedirectPath string |
---|
The path to which the user will be redirected when they are logged out.
Defaults to |
tokenExpirationRedirectPath string |
---|
The path to which the user will be redirected when their auth token is present but invalid.
Defaults to |