Skip to main content

Function: encode

jwt.encode

â–¸ encode(params): Promise<string>

Issues a JWT. By default, the JWT is encrypted using "A256GCM".

Parameters​

NameType
paramsJWTEncodeParams

Returns​

Promise<string>