Interface: JWTUtilsPayloadPasswordOptions

@acceleratxr/core_sdk / JWTUtilsPayloadPasswordOptions

Interface: JWTUtilsPayloadPasswordOptions#

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

author Jean-Philippe Steinmetz info@acceleratxr.com

Hierarchy#

Index#

Properties#

Properties#

algorithm#

algorithm: string

Defined in src/utils/JWTUtils.ts:90

The cryptographic cipher algorithm to use during encryption/decryption of a JWT token payload.


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.


iv#

iv: Buffer

Defined in src/utils/JWTUtils.ts:95

The initialization vector to use during encryption and decryption.


password#

password: string

Defined in src/utils/JWTUtils.ts:100

The password to use when encrypting or decrypting JWT token payloads.