Search
Preparing search index...
The search index is not available
supertokens-node
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
supertokens-node
recipe/jwt
default
Class default
Hierarchy
default
Index
Constructors
constructor
Properties
init
Methods
createJWT
getJWKS
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
createJWT
createJWT
(
payload
:
any
, validitySeconds
?:
number
, useStaticSigningKey
?:
boolean
, userContext
?:
Record
<
string
,
any
>
)
:
Promise
<
{
jwt
:
string
;
status
:
"OK"
}
|
{
status
:
"UNSUPPORTED_ALGORITHM_ERROR"
}
>
Parameters
payload:
any
Optional
validitySeconds:
number
Optional
useStaticSigningKey:
boolean
Optional
userContext:
Record
<
string
,
any
>
Returns
Promise
<
{
jwt
:
string
;
status
:
"OK"
}
|
{
status
:
"UNSUPPORTED_ALGORITHM_ERROR"
}
>
Static
getJWKS
getJWKS
(
userContext
?:
Record
<
string
,
any
>
)
:
Promise
<
{
keys
:
JsonWebKey
[]
;
validityInSeconds
?:
number
}
>
Parameters
Optional
userContext:
Record
<
string
,
any
>
Returns
Promise
<
{
keys
:
JsonWebKey
[]
;
validityInSeconds
?:
number
}
>
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
createJWT
getJWKS
Generated using
TypeDoc