Send feedback
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 ;
};
Send feedback
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.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-07-29 UTC."],[],[],null,["# UserImportOptions interface\n\nInterface 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----------\n\n| Property | Type | Description |\n|--------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------|\n| [hash](./firebase-admin.auth.userimportoptions.md#userimportoptionshash) | { algorithm: [HashAlgorithmType](./firebase-admin.auth.md#hashalgorithmtype); key?: Buffer; saltSeparator?: Buffer; rounds?: number; memoryCost?: number; parallelization?: number; blockSize?: number; derivedKeyLength?: number; } | The password hashing information. |\n\nUserImportOptions.hash\n----------------------\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 };"]]