Skip to main content

Interface: JWTUtilsPayloadKeyOptions

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

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:69

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:74

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:110

The private key used to encrypt JWT token payloads.


public_key

public_key: string

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

The public key used to decrypt JWT token payloads.