Skip to main content

Interface: JWTUtilsPayloadPasswordOptions

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

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

Extends​

Properties​

algorithm​

algorithm: string

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

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


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


iv​

iv: Buffer

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

The initialization vector to use during encryption and decryption.


password​

password: string

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

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