Interface: JWTUtilsPayloadKeyOptions

@acceleratxr/core_sdk / JWTUtilsPayloadKeyOptions

Interface: JWTUtilsPayloadKeyOptions#

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

author Jean-Philippe Steinmetz info@acceleratxr.com

Hierarchy#

Index#

Properties#

Properties#

compress#

compress: boolean

Inherited from JWTUtilsPayloadOptions.compress

Defined in src/utils/JWTUtils.ts:72

Set to true to enable payload compression, otherwise set to false.


encrypt#

encrypt: boolean

Inherited from JWTUtilsPayloadOptions.encrypt

Defined in src/utils/JWTUtils.ts:77

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


private_key#

private_key: string

Defined in src/utils/JWTUtils.ts:113

The private key used to encrypt JWT token payloads.


public_key#

public_key: string

Defined in src/utils/JWTUtils.ts:118

The public key used to decrypt JWT token payloads.