Search
Preparing search index...
The search index is not available
supertokens-node
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
supertokens-node
recipe/thirdparty
default
Class default
Hierarchy
default
Index
Constructors
constructor
Properties
Error
init
Methods
get
Provider
manually
Create
Or
Update
User
Constructors
constructor
new default
(
)
:
default
Returns
default
Properties
Static
Error
Error
:
typeof
default
= SuperTokensError
Static
init
init
:
(
(
config
?:
TypeInput
)
=>
RecipeListFunction
)
= Recipe.init
Type declaration
(
config
?:
TypeInput
)
:
RecipeListFunction
Parameters
Optional
config:
TypeInput
Returns
RecipeListFunction
Methods
Static
get
Provider
get
Provider
(
tenantId
:
string
, thirdPartyId
:
string
, clientType
:
undefined
|
string
, userContext
?:
Record
<
string
,
any
>
)
:
Promise
<
undefined
|
TypeProvider
>
Parameters
tenantId:
string
thirdPartyId:
string
clientType:
undefined
|
string
Optional
userContext:
Record
<
string
,
any
>
Returns
Promise
<
undefined
|
TypeProvider
>
Static
manually
Create
Or
Update
User
manually
Create
Or
Update
User
(
tenantId
:
string
, thirdPartyId
:
string
, thirdPartyUserId
:
string
, email
:
string
, isVerified
:
boolean
, session
?:
undefined
, userContext
?:
Record
<
string
,
any
>
)
:
Promise
<
{
createdNewRecipeUser
:
boolean
;
recipeUserId
:
RecipeUserId
;
status
:
"OK"
;
user
:
User
}
|
{
reason
:
string
;
status
:
"EMAIL_CHANGE_NOT_ALLOWED_ERROR"
}
|
{
reason
:
string
;
status
:
"SIGN_IN_UP_NOT_ALLOWED"
}
>
manually
Create
Or
Update
User
(
tenantId
:
string
, thirdPartyId
:
string
, thirdPartyUserId
:
string
, email
:
string
, isVerified
:
boolean
, session
:
SessionContainer
, userContext
?:
Record
<
string
,
any
>
)
:
Promise
<
{
createdNewRecipeUser
:
boolean
;
recipeUserId
:
RecipeUserId
;
status
:
"OK"
;
user
:
User
}
|
{
reason
:
string
;
status
:
"EMAIL_CHANGE_NOT_ALLOWED_ERROR"
}
|
{
reason
:
string
;
status
:
"SIGN_IN_UP_NOT_ALLOWED"
}
|
{
reason
:
"ACCOUNT_INFO_ALREADY_ASSOCIATED_WITH_ANOTHER_PRIMARY_USER_ID_ERROR"
|
"RECIPE_USER_ID_ALREADY_LINKED_WITH_ANOTHER_PRIMARY_USER_ID_ERROR"
|
"EMAIL_VERIFICATION_REQUIRED"
|
"SESSION_USER_ACCOUNT_INFO_ALREADY_ASSOCIATED_WITH_ANOTHER_PRIMARY_USER_ID_ERROR"
;
status
:
"LINKING_TO_SESSION_USER_FAILED"
}
>
Parameters
tenantId:
string
thirdPartyId:
string
thirdPartyUserId:
string
email:
string
isVerified:
boolean
Optional
session:
undefined
Optional
userContext:
Record
<
string
,
any
>
Returns
Promise
<
{
createdNewRecipeUser
:
boolean
;
recipeUserId
:
RecipeUserId
;
status
:
"OK"
;
user
:
User
}
|
{
reason
:
string
;
status
:
"EMAIL_CHANGE_NOT_ALLOWED_ERROR"
}
|
{
reason
:
string
;
status
:
"SIGN_IN_UP_NOT_ALLOWED"
}
>
Parameters
tenantId:
string
thirdPartyId:
string
thirdPartyUserId:
string
email:
string
isVerified:
boolean
session:
SessionContainer
Optional
userContext:
Record
<
string
,
any
>
Returns
Promise
<
{
createdNewRecipeUser
:
boolean
;
recipeUserId
:
RecipeUserId
;
status
:
"OK"
;
user
:
User
}
|
{
reason
:
string
;
status
:
"EMAIL_CHANGE_NOT_ALLOWED_ERROR"
}
|
{
reason
:
string
;
status
:
"SIGN_IN_UP_NOT_ALLOWED"
}
|
{
reason
:
"ACCOUNT_INFO_ALREADY_ASSOCIATED_WITH_ANOTHER_PRIMARY_USER_ID_ERROR"
|
"RECIPE_USER_ID_ALREADY_LINKED_WITH_ANOTHER_PRIMARY_USER_ID_ERROR"
|
"EMAIL_VERIFICATION_REQUIRED"
|
"SESSION_USER_ACCOUNT_INFO_ALREADY_ASSOCIATED_WITH_ANOTHER_PRIMARY_USER_ID_ERROR"
;
status
:
"LINKING_TO_SESSION_USER_FAILED"
}
>
Modules
framework
framework/aws
Lambda
framework/custom
framework/express
framework/fastify
framework/hapi
framework/koa
framework/loopback
index
ingredients/emaildelivery
ingredients/smsdelivery
recipe/accountlinking
recipe/dashboard
recipe/emailpassword
recipe/emailverification
recipe/jwt
recipe/multifactorauth
recipe/multitenancy
recipe/oauth2provider
recipe/openid
recipe/passwordless
recipe/session
recipe/thirdparty
recipe/totp
recipe/usermetadata
recipe/userroles
default
constructor
Error
init
get
Provider
manually
Create
Or
Update
User
Generated using
TypeDoc