UserImportOptions interface
Stay organized with collections
Save and categorize content based on your preferences.
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;
};
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-07-29 UTC.
[null,null,["Last updated 2022-07-29 UTC."],[],[],null,["Interface representing the user import options needed for [BaseAuth.importUsers()](./firebase-admin.auth.baseauth.md#baseauthimportusers) method. This is used to provide the password hashing algorithm information.\n\n**Signature:** \n\n export interface UserImportOptions \n\nProperties\n\nUserImportOptions.hash\n\nThe password hashing information.\n\n**Signature:** \n\n hash: {\n algorithm: HashAlgorithmType;\n key?: Buffer;\n saltSeparator?: Buffer;\n rounds?: number;\n memoryCost?: number;\n parallelization?: number;\n blockSize?: number;\n derivedKeyLength?: number;\n };"]]