Interface representing the user import options needed for BaseAuth.importUsers() method. This is used to provide the password hashing algorithm information.
Signature:
export interface UserImportOptions
Properties
Property | Type | Description |
---|---|---|
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;
};