Skip to main content

Interface: JWTUtilsPayloadKeyOptions

Defined in: core/src/JWTUtils.ts:112

Describes the configuration options to be used with the JWTUtilsConfig.payload property when performing key-based encryption.

Extends​

Properties​

compress?​

optional compress?: ZLIB

Defined in: core/src/JWTUtils.ts:75

Set the method to use for compressing the payload profile, otherwise set to null for no compression.

Inherited from​

JWTUtilsPayloadOptions.compress


encrypt?​

optional encrypt?: boolean

Defined in: core/src/JWTUtils.ts:80

Set to true to indicate that the JWT token payload is encrypted, otherwise set to false.

Inherited from​

JWTUtilsPayloadOptions.encrypt


private_key​

private_key: string

Defined in: core/src/JWTUtils.ts:116

The private key used to encrypt JWT token payloads.


public_key​

public_key: string

Defined in: core/src/JWTUtils.ts:121

The public key used to decrypt JWT token payloads.