UserImportOptions interface

Interfaccia che rappresenta le opzioni di importazione degli utenti necessarie per il metodo BaseAuth.importUsers() . Viene utilizzato per fornire informazioni sull'algoritmo di hashing della password.

Firma:

export interface UserImportOptions 

Proprietà

Proprietà Tipo Descrizione
hash { algoritmo: HashAlgorithmType ; chiave?: Buffer; saltSeparator?: Buffer; giri?: numero; costo memoria?: numero; parallelizzazione?: numero; dimensione blocco?: numero; derivatoKeyLength?: numero; } Informazioni sull'hashing della password.

UserImportOptions.hash

Informazioni sull'hashing della password.

Firma:

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