FirebaseAdmin.Auth.UserImportHash

This is an abstract class.

Represents a hash algorithm and the related configuration parameters used to hash user passwords.

Summary

An instance of this class must be specified if importing any users with password hashes (see UserImportOptions).

This is not expected to be extended in user code. Applications should use one of the provided concrete implementations in the namespace. See documentation for more details on available options.

Inheritance

Direct Known Subclasses:FirebaseAdmin.Auth.Hash.Bcrypt, FirebaseAdmin.Auth.Hash.Hmac, FirebaseAdmin.Auth.Hash.RepeatableHash, FirebaseAdmin.Auth.Hash.StandardScrypt

Protected functions

GetHashConfiguration()
virtual abstract IReadOnlyDictionary< string, object >
Retrieves dictionary with the specified properties of the hashing algorithm.
UserImportHash(string hashName)
Initializes a new instance of the UserImportHash class.

Protected functions

GetHashConfiguration

virtual abstract IReadOnlyDictionary< string, object > GetHashConfiguration()

Retrieves dictionary with the specified properties of the hashing algorithm.

Details
Returns
Dictionary containing the specified properties of the hashing algorithm.

UserImportHash

 UserImportHash(
  string hashName
)

Initializes a new instance of the UserImportHash class.

Details
Parameters
hashName
The name of the hashing algorithm.