supertokens-auth-react/recipe/emailverification/types
References documentation for the supertokens-auth-react/recipe/emailverification/types package
Type Aliases
ComponentOverrideMap
type ComponentOverrideMap = object;
Defined in: recipe/emailverification/types.ts
Properties
| Property | Type | Defined in |
|---|---|---|
EmailVerificationSendVerifyEmail_Override? |
ComponentOverride<typeof SuperTokensWrapper> |
recipe/emailverification/types.ts |
EmailVerificationVerifyEmailLinkClicked_Override? |
ComponentOverride<typeof SuperTokensWrapper> |
recipe/emailverification/types.ts |
Config
type Config = UserInput & RecipeModuleConfig<GetRedirectionURLContext, PreAndPostAPIHookAction, OnHandleEventContext>;
Defined in: recipe/emailverification/types.ts
EmailVerificationThemeProps
type EmailVerificationThemeProps = object;
Defined in: recipe/emailverification/types.ts
Properties
| Property | Type | Defined in |
|---|---|---|
config |
NormalisedConfig |
recipe/emailverification/types.ts |
sendVerifyEmailScreen |
SendVerifyEmailThemeProps |
recipe/emailverification/types.ts |
userContext? |
UserContext |
recipe/emailverification/types.ts |
verifyEmailLinkClickedScreen? |
VerifyEmailLinkClickedThemeProps |
recipe/emailverification/types.ts |
GetRedirectionURLContext
type GetRedirectionURLContext = NormalisedGetRedirectionURLContext<{
action: "VERIFY_EMAIL";
}>;
Defined in: recipe/emailverification/types.ts
NormalisedConfig
type NormalisedConfig = object & NormalisedRecipeModuleConfig<GetRedirectionURLContext, PreAndPostAPIHookAction, OnHandleEventContext>;
Defined in: recipe/emailverification/types.ts
Type Declaration
| Name | Type | Defined in |
|---|---|---|
disableDefaultUI |
boolean |
recipe/emailverification/types.ts |
mode |
"OPTIONAL" | "REQUIRED" |
recipe/emailverification/types.ts |
override |
object |
recipe/emailverification/types.ts |
override.functions() |
(originalImplementation, builder) => SuperTokensWrapper |
recipe/emailverification/types.ts |
sendVerifyEmailScreen |
FeatureBaseConfig |
recipe/emailverification/types.ts |
verifyEmailLinkClickedScreen |
FeatureBaseConfig |
recipe/emailverification/types.ts |
OnHandleEventContext
type OnHandleEventContext = object;
Defined in: recipe/emailverification/types.ts
Properties
| Property | Type | Defined in |
|---|---|---|
action |
"VERIFY_EMAIL_SENT" | "EMAIL_VERIFIED_SUCCESSFUL" |
recipe/emailverification/types.ts |
userContext |
UserContext |
recipe/emailverification/types.ts |
PreAndPostAPIHookAction
type PreAndPostAPIHookAction = "VERIFY_EMAIL" | "SEND_VERIFY_EMAIL" | "IS_EMAIL_VERIFIED";
Defined in: recipe/emailverification/types.ts
PreAPIHookContext
type PreAPIHookContext = object;
Defined in: recipe/emailverification/types.ts
Properties
| Property | Type | Defined in |
|---|---|---|
action |
PreAndPostAPIHookAction |
recipe/emailverification/types.ts |
requestInit |
RequestInit |
recipe/emailverification/types.ts |
url |
string |
recipe/emailverification/types.ts |
userContext |
UserContext |
recipe/emailverification/types.ts |
SendVerifyEmailThemeProps
type SendVerifyEmailThemeProps = ThemeBaseProps & object;
Defined in: recipe/emailverification/types.ts
Type Declaration
| Name | Type | Defined in |
|---|---|---|
config |
NormalisedConfig |
recipe/emailverification/types.ts |
onEmailAlreadyVerified() |
() => Promise<void> |
recipe/emailverification/types.ts |
recipeImplementation |
SuperTokensWrapper |
recipe/emailverification/types.ts |
redirectToAuth() |
() => Promise<void> |
recipe/emailverification/types.ts |
signOut() |
() => Promise<void> |
recipe/emailverification/types.ts |
UserInput
type UserInput = object & RecipeModuleUserInput<GetRedirectionURLContext, PreAndPostAPIHookAction, OnHandleEventContext>;
Defined in: recipe/emailverification/types.ts
Type Declaration
| Name | Type | Defined in |
|---|---|---|
disableDefaultUI? |
boolean |
recipe/emailverification/types.ts |
mode? |
"OPTIONAL" | "REQUIRED" |
recipe/emailverification/types.ts |
override? |
object |
recipe/emailverification/types.ts |
override.functions()? |
(originalImplementation, builder) => SuperTokensWrapper |
recipe/emailverification/types.ts |
sendVerifyEmailScreen? |
FeatureBaseConfig |
recipe/emailverification/types.ts |
verifyEmailLinkClickedScreen? |
FeatureBaseConfig |
recipe/emailverification/types.ts |
VerifyEmailLinkClickedThemeProps
type VerifyEmailLinkClickedThemeProps = ThemeBaseProps & object;
Defined in: recipe/emailverification/types.ts
Type Declaration
| Name | Type | Defined in |
|---|---|---|
config |
NormalisedConfig |
recipe/emailverification/types.ts |
onSuccess() |
() => Promise<void> |
recipe/emailverification/types.ts |
onTokenInvalidRedirect() |
() => Promise<void> |
recipe/emailverification/types.ts |
recipeImplementation |
SuperTokensWrapper |
recipe/emailverification/types.ts |
token |
string |
recipe/emailverification/types.ts |