Search
Preparing search index...
The search index is not available
supertokens-node
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
supertokens-node
recipe/usermetadata
default
Class default
Hierarchy
default
Index
Constructors
constructor
Properties
init
Methods
clear
User
Metadata
get
User
Metadata
update
User
Metadata
Constructors
constructor
new default
(
)
:
default
Returns
default
Properties
Static
init
init
:
(
(
config
?:
TypeInput
)
=>
RecipeListFunction
)
= Recipe.init
Type declaration
(
config
?:
TypeInput
)
:
RecipeListFunction
Parameters
Optional
config:
TypeInput
Returns
RecipeListFunction
Methods
Static
clear
User
Metadata
clear
User
Metadata
(
userId
:
string
, userContext
?:
Record
<
string
,
any
>
)
:
Promise
<
{
status
:
"OK"
}
>
Parameters
userId:
string
Optional
userContext:
Record
<
string
,
any
>
Returns
Promise
<
{
status
:
"OK"
}
>
Static
get
User
Metadata
get
User
Metadata
(
userId
:
string
, userContext
?:
Record
<
string
,
any
>
)
:
Promise
<
{
metadata
:
any
;
status
:
"OK"
}
>
Parameters
userId:
string
Optional
userContext:
Record
<
string
,
any
>
Returns
Promise
<
{
metadata
:
any
;
status
:
"OK"
}
>
Static
update
User
Metadata
update
User
Metadata
(
userId
:
string
, metadataUpdate
:
JSONObject
, userContext
?:
Record
<
string
,
any
>
)
:
Promise
<
{
metadata
:
JSONObject
;
status
:
"OK"
}
>
Parameters
userId:
string
metadataUpdate:
JSONObject
Optional
userContext:
Record
<
string
,
any
>
Returns
Promise
<
{
metadata
:
JSONObject
;
status
:
"OK"
}
>
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
init
clear
User
Metadata
get
User
Metadata
update
User
Metadata
Generated using
TypeDoc