Preparing search index...
The search index is not available
Documentation
Documentation
JWT
createJwt
Function createJwt
create
Jwt
<
Payload
,
Transformed
>
(
options
)
:
JwtWithValidator
<
Payload
,
Transformed
>
Creates a JWT with validation capabilities.
Type Parameters
Payload
extends
TSchema
Transformed
extends
undefined
|
Record
<
string
,
unknown
>
=
undefined
Parameters
options
:
CreateJwtOptions
<
Payload
,
Transformed
>
Options for configuring the creation of the JWT.
Returns
JwtWithValidator
<
Payload
,
Transformed
>
JWT class with methods for validating and verifying or decoding the JWT.
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...
Creates a JWT with validation capabilities.