Search
Preparing search index...
The search index is not available
supertokens-auth-react
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
supertokens-auth-react
recipe/emailverification
default
Class default
Hierarchy
default
Index
Constructors
constructor
Properties
Components
Override
Provider
Email
Verification
Claim
Methods
get
Email
Verification
Token
FromURL
init
is
Email
Verified
send
Verification
Email
verify
Email
Constructors
constructor
new default
(
)
:
default
Returns
default
Properties
Static
Components
Override
Provider
Components
Override
Provider
:
FC
<
PropsWithChildren
<
{
components
:
ComponentOverrideMap
}
>
>
= RecipeComponentsOverrideContextProvider
Static
Email
Verification
Claim
Email
Verification
Claim
:
EmailVerificationClaimClass
= EmailVerificationRecipe.EmailVerificationClaim
Methods
Static
get
Email
Verification
Token
FromURL
get
Email
Verification
Token
FromURL
(
input
?:
{
userContext
?:
UserContext
}
)
:
string
Parameters
Optional
input:
{
userContext
?:
UserContext
}
Optional
user
Context
?:
UserContext
Returns
string
Static
init
init
(
config
?:
UserInput
)
:
RecipeInitResult
<
GetRedirectionURLContext
,
PreAndPostAPIHookAction
,
OnHandleEventContext
,
NormalisedConfig
>
Parameters
Optional
config:
UserInput
Returns
RecipeInitResult
<
GetRedirectionURLContext
,
PreAndPostAPIHookAction
,
OnHandleEventContext
,
NormalisedConfig
>
Static
is
Email
Verified
is
Email
Verified
(
input
?:
{
options
?:
RecipeFunctionOptions
;
userContext
?:
UserContext
}
)
:
Promise
<
{
fetchResponse
:
Response
;
isVerified
:
boolean
;
status
:
"OK"
}
>
Parameters
Optional
input:
{
options
?:
RecipeFunctionOptions
;
userContext
?:
UserContext
}
Optional
options
?:
RecipeFunctionOptions
Optional
user
Context
?:
UserContext
Returns
Promise
<
{
fetchResponse
:
Response
;
isVerified
:
boolean
;
status
:
"OK"
}
>
Static
send
Verification
Email
send
Verification
Email
(
input
?:
{
options
?:
RecipeFunctionOptions
;
userContext
?:
UserContext
}
)
:
Promise
<
{
fetchResponse
:
Response
;
status
:
"OK"
|
"EMAIL_ALREADY_VERIFIED_ERROR"
}
>
Parameters
Optional
input:
{
options
?:
RecipeFunctionOptions
;
userContext
?:
UserContext
}
Optional
options
?:
RecipeFunctionOptions
Optional
user
Context
?:
UserContext
Returns
Promise
<
{
fetchResponse
:
Response
;
status
:
"OK"
|
"EMAIL_ALREADY_VERIFIED_ERROR"
}
>
Static
verify
Email
verify
Email
(
input
?:
{
options
?:
RecipeFunctionOptions
;
userContext
?:
UserContext
}
)
:
Promise
<
{
fetchResponse
:
Response
;
status
:
"OK"
|
"EMAIL_VERIFICATION_INVALID_TOKEN_ERROR"
}
>
Parameters
Optional
input:
{
options
?:
RecipeFunctionOptions
;
userContext
?:
UserContext
}
Optional
options
?:
RecipeFunctionOptions
Optional
user
Context
?:
UserContext
Returns
Promise
<
{
fetchResponse
:
Response
;
status
:
"OK"
|
"EMAIL_VERIFICATION_INVALID_TOKEN_ERROR"
}
>
Modules
date
Provider
index
recipe/auth
Recipe
recipe/emailpassword
recipe/emailverification
recipe/multifactorauth
recipe/multitenancy
recipe/oauth2provider
recipe/passwordless
recipe/recipe
Module
recipe/session
recipe/thirdparty
recipe/totp
recipe/userroles
default
constructor
Components
Override
Provider
Email
Verification
Claim
get
Email
Verification
Token
FromURL
init
is
Email
Verified
send
Verification
Email
verify
Email
Generated using
TypeDoc