UserImportOptions interface

อินเทอร์เฟซที่แสดงตัวเลือกการนำเข้าผู้ใช้ที่จำเป็นสำหรับเมธอด BaseAuth.importUsers() ใช้เพื่อระบุข้อมูลอัลกอริทึมการแฮชรหัสผ่าน

ลายเซ็น:

export interface UserImportOptions 

พร็อพเพอร์ตี้

พร็อพเพอร์ตี้ ประเภท คำอธิบาย
แฮช { อัลกอริทึม: HashAlgorithmType; ?: บัฟเฟอร์; SaltSeparator?: บัฟเฟอร์; รอบ?: จำนวน; MemoryCost?: ตัวเลข; Parallelization?: ตัวเลข; blockSize?: ตัวเลข; trainedKeyLength?: number; } ข้อมูลการแฮชรหัสผ่าน

UserImportOptions.hash

ข้อมูลการแฮชรหัสผ่าน

ลายเซ็น:

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