Stay organized with collections
Save and categorize content based on your preferences.
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)
|
|
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.
|
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-04 UTC.
[null,null,["Last updated 2024-04-04 UTC."],[],[],null,["# FirebaseAdmin.Auth.UserImportHash Class Reference\n\nFirebaseAdmin.Auth.UserImportHash\n=================================\n\n\n**This is an abstract class.**\n\nRepresents a hash algorithm and the related configuration parameters used to hash user passwords.\n\nSummary\n-------\n\nAn instance of this class must be specified if importing any users with password hashes (see [UserImportOptions](/docs/reference/admin/dotnet/class/firebase-admin/auth/user-import-options#class_firebase_admin_1_1_auth_1_1_user_import_options)).\n\nThis is not expected to be extended in user code. Applications should use one of the provided concrete implementations in the namespace. See [documentation](https://firebase.google.com/docs/auth/admin/import-users) for more details on available options.\n\n### Inheritance\n\nDirect Known Subclasses:[FirebaseAdmin.Auth.Hash.Bcrypt](/docs/reference/admin/dotnet/class/firebase-admin/auth/hash/bcrypt), [FirebaseAdmin.Auth.Hash.Hmac](/docs/reference/admin/dotnet/class/firebase-admin/auth/hash/hmac), [FirebaseAdmin.Auth.Hash.RepeatableHash](/docs/reference/admin/dotnet/class/firebase-admin/auth/hash/repeatable-hash), [FirebaseAdmin.Auth.Hash.StandardScrypt](/docs/reference/admin/dotnet/class/firebase-admin/auth/hash/standard-scrypt)\n\n| ### Protected functions ||\n|-----------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [GetHashConfiguration](#class_firebase_admin_1_1_auth_1_1_user_import_hash_1ae2087de32878d8b50e6008e61c8f28d9)`()` | `virtual abstract IReadOnlyDictionary\u003c string, object \u003e` Retrieves dictionary with the specified properties of the hashing algorithm. |\n| [UserImportHash](#class_firebase_admin_1_1_auth_1_1_user_import_hash_1a8fe15e6669e6a953d9e9aabd97843d4e)`(string hashName)` | ` ` ` `Initializes a new instance of the [UserImportHash](/docs/reference/admin/dotnet/class/firebase-admin/auth/user-import-hash#class_firebase_admin_1_1_auth_1_1_user_import_hash) class. ` ` |\n\nProtected functions\n-------------------\n\n### GetHashConfiguration\n\n```text\nvirtual abstract IReadOnlyDictionary\u003c string, object \u003e GetHashConfiguration()\n``` \nRetrieves dictionary with the specified properties of the hashing algorithm.\n\n\u003cbr /\u003e\n\n| Details ||\n|-------------|--------------------------------------------------------------------------|\n| **Returns** | Dictionary containing the specified properties of the hashing algorithm. |\n\n### UserImportHash\n\n```text\n UserImportHash(\n string hashName\n)\n``` \nInitializes a new instance of the [UserImportHash](/docs/reference/admin/dotnet/class/firebase-admin/auth/user-import-hash#class_firebase_admin_1_1_auth_1_1_user_import_hash) class.\n\n\u003cbr /\u003e\n\n| Details ||\n|------------|---------------------------------------------------------------------------------------------------------|\n| Parameters | |------------|------------------------------------| | `hashName` | The name of the hashing algorithm. | |"]]