| java.lang.Object | ||
| ↳ | com.google.firebase.auth.UserRecord | |
| ↳ | com.google.firebase.auth.ExportedUserRecord | |
Contains metadata associated with a Firebase user account, along with password hash and salt. Instances of this class are immutable and thread-safe.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String |
getPasswordHash()
Returns the user's password hash as a base64-encoded string.
| ||||||||||
| String |
getPasswordSalt()
Returns the user's password salt as a base64-encoded string.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.firebase.auth.UserRecord
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.google.firebase.auth.UserInfo
| |||||||||||
Returns 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.
Returns 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.