Stay organized with collections
Save and categorize content based on your preferences.
FirebaseAdmin.Auth.ExportedUserRecord
Contains metadata associated with a Firebase user account, along with password hash and salt.
Summary
Instances of this class are immutable and thread safe.
Inheritance
Inherits from:
FirebaseAdmin.Auth.UserRecord
Properties
|
PasswordHash
|
string
Gets the user's password hash as a base64-encoded string.
|
PasswordSalt
|
string
Gets the user's password salt as a base64-encoded string.
|
Properties
PasswordHash
string PasswordHash
Gets the user's password hash as a base64-encoded string.
If the Firebase Auth hashing algorithm (SCRYPT) was used to create the user account, returns the base64-encoded password hash of the user. If a different hashing algorithm was used to create this user, as is typical when migrating from another Auth system, returns an empty string. Returns null if no password is set.
PasswordSalt
string PasswordSalt
Gets the user's password salt as a base64-encoded string.
If the Firebase Auth hashing algorithm (SCRYPT) was used to create the user account, returns the base64-encoded password salt of the user. If a different hashing algorithm was used to create this user, as is typical when migrating from another Auth system, returns an empty string. Returns null if no password is set.
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 2022-03-24 UTC.
[null,null,["Last updated 2022-03-24 UTC."],[],[],null,["# FirebaseAdmin.Auth.ExportedUserRecord Class Reference\n\nFirebaseAdmin.Auth.ExportedUserRecord\n=====================================\n\nContains metadata associated with a Firebase user account, along with password hash and salt.\n\nSummary\n-------\n\nInstances of this class are immutable and thread safe.\n\n### Inheritance\n\nInherits from: [FirebaseAdmin.Auth.UserRecord](/docs/reference/admin/dotnet/class/firebase-admin/auth/user-record)\n\n| ### Properties ||\n|------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------|\n| [PasswordHash](#class_firebase_admin_1_1_auth_1_1_exported_user_record_1ac8d9cf5323306530e978f7816658517d) | `string` Gets the user's password hash as a base64-encoded string. |\n| [PasswordSalt](#class_firebase_admin_1_1_auth_1_1_exported_user_record_1a6439ec7b21fd8312335a3ffe469de0ea) | `string` Gets the user's password salt as a base64-encoded string. |\n\nProperties\n----------\n\n### PasswordHash\n\n```text\nstring PasswordHash\n``` \nGets the user's password hash as a base64-encoded string.\n\nIf the Firebase [Auth](/docs/reference/admin/dotnet/namespace/firebase-admin/auth#namespace_firebase_admin_1_1_auth) hashing algorithm (SCRYPT) was used to create the user account, returns the base64-encoded password hash of the user. If a different hashing algorithm was used to create this user, as is typical when migrating from another [Auth](/docs/reference/admin/dotnet/namespace/firebase-admin/auth#namespace_firebase_admin_1_1_auth) system, returns an empty string. Returns null if no password is set. \n\n### PasswordSalt\n\n```text\nstring PasswordSalt\n``` \nGets the user's password salt as a base64-encoded string.\n\nIf the Firebase [Auth](/docs/reference/admin/dotnet/namespace/firebase-admin/auth#namespace_firebase_admin_1_1_auth) hashing algorithm (SCRYPT) was used to create the user account, returns the base64-encoded password salt of the user. If a different hashing algorithm was used to create this user, as is typical when migrating from another [Auth](/docs/reference/admin/dotnet/namespace/firebase-admin/auth#namespace_firebase_admin_1_1_auth) system, returns an empty string. Returns null if no password is set."]]