Appearance
cloudfire-auth / UserImportOptions
Interface: UserImportOptions
Defined in: types/firebase-admin/user-import.ts:59
Interface representing the user import options needed for CloudFireAuth.importUsers method. This is used to provide the password hashing algorithm information.
Properties
hash
hash:
object
Defined in: types/firebase-admin/user-import.ts:63
The password hashing information.
algorithm
algorithm:
HashAlgorithmType
The password hashing algorithm identifier. The following algorithm identifiers are supported: SCRYPT, STANDARD_SCRYPT, HMAC_SHA512, HMAC_SHA256, HMAC_SHA1, HMAC_MD5, MD5, PBKDF_SHA1, BCRYPT, PBKDF2_SHA256, SHA512, SHA256 and SHA1.
blockSize?
optionalblockSize:number
The block size (normally 8) of the hashing algorithm. Required for the STANDARD_SCRYPT algorithm.
derivedKeyLength?
optionalderivedKeyLength:number
The derived key length of the hashing algorithm. Required for the STANDARD_SCRYPT algorithm.
key?
optionalkey:Uint8Array<ArrayBufferLike>
The signing key used in the hash algorithm in buffer bytes. Required by hashing algorithms SCRYPT, HMAC_SHA512, HMAC_SHA256, HAMC_SHA1 and HMAC_MD5.
memoryCost?
optionalmemoryCost:number
The memory cost required for SCRYPT algorithm, or the CPU/memory cost. Required for STANDARD_SCRYPT algorithm.
parallelization?
optionalparallelization:number
The parallelization of the hashing algorithm. Required for the STANDARD_SCRYPT algorithm.
rounds?
optionalrounds:number
The number of rounds for hashing calculation. Required for SCRYPT, MD5, SHA512, SHA256, SHA1, PBKDF_SHA1 and PBKDF2_SHA256.
saltSeparator?
optionalsaltSeparator:Uint8Array<ArrayBufferLike>
The salt separator in buffer bytes which is appended to salt when verifying a password. This is only used by the SCRYPT algorithm.