UserImportOptions interface

Interfejs reprezentujący opcje importu użytkowników potrzebne dla metody BaseAuth.importUsers() . Służy do podawania informacji o algorytmie mieszania hasła.

Podpis:

export interface UserImportOptions 

Nieruchomości

Nieruchomość Typ Opis
haszysz {algorytm: HashAlgorithmType ; klucz?: Bufor; sólSeparator?: Bufor; rundy?: liczba; koszt pamięci?: liczba; równoległość?: liczba; Rozmiar bloku?: liczba; pochodnaKeyLength?: liczba; } Informacje o mieszaniu hasła.

UserImportOptions.hash

Informacje o mieszaniu hasła.

Podpis:

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