UserImportOptions interface

Interface representing the user import options needed for BaseAuth.importUsers() method. This is used to provide the password hashing algorithm information.

Signature:

exportinterfaceUserImportOptions

Properties

PropertyTypeDescription
hash{ algorithm: HashAlgorithmType; key?: Buffer; saltSeparator?: Buffer; rounds?: number; memoryCost?: number; parallelization?: number; blockSize?: number; derivedKeyLength?: number; }The password hashing information.

UserImportOptions.hash

The password hashing information.

Signature:

hash:{algorithm:HashAlgorithmType;key?:Buffer;saltSeparator?:Buffer;rounds?:number;memoryCost?:number;parallelization?:number;blockSize?:number;derivedKeyLength?:number;};