UserImportOptions interface

這個介面代表 BaseAuth.importUsers() 方法需要的使用者匯入選項。用於提供密碼雜湊演算法資訊。

簽名:

export interface UserImportOptions 

屬性

屬性 類型 說明
雜湊 { 演算法:HashAlgorithmType;?緩衝區;saltSeparator?:緩衝區;捨入?:數字;memoryCost?: 數字;平行處理?: 數字;blockSize?: 數字;trainKeyLength?: 數字;} 密碼雜湊資訊。

使用者匯入選項.hash

密碼雜湊資訊。

簽名:

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