auth-vir - v1.3.1
Preparing search index...
createJwt
Function createJwt
createJwt
<
JwtData
extends
AnyObject
=
AnyObject
>
(
data
:
JwtData
,
params
:
Readonly
<
CreateJwtParams
>
,
)
:
Promise
<
string
>
Creates a signed and encrypted JWT that contains the given data.
Type Parameters
JwtData
extends
AnyObject
=
AnyObject
Parameters
data
:
JwtData
The data to be included in the JWT.
params
:
Readonly
<
CreateJwtParams
>
Returns
Promise
<
string
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
auth-vir - v1.3.1
Loading...
Creates a signed and encrypted JWT that contains the given data.