| java.lang.Object | |
| ↳ | com.google.firebase.auth.ImportUserRecord.Builder |
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ImportUserRecord.Builder |
addAllUserProviders(List<UserProvider> providers)
Associates all user provider's in the given list with this user.
| ||||||||||
| ImportUserRecord.Builder |
addUserProvider(UserProvider provider)
Adds a user provider to be associated with this user.
| ||||||||||
| ImportUserRecord |
build()
Builds a new
ImportUserRecord. | ||||||||||
| ImportUserRecord.Builder |
putAllCustomClaims(Map<String, Object> customClaims)
Sets the custom claims associated with this user.
| ||||||||||
| ImportUserRecord.Builder |
putCustomClaim(String key, Object value)
Sets the specified custom claim on this user account.
| ||||||||||
| ImportUserRecord.Builder |
setDisabled(boolean disabled)
Sets whether the user account should be disabled by default or not.
| ||||||||||
| ImportUserRecord.Builder |
setDisplayName(String displayName)
Sets the display name for the user.
| ||||||||||
| ImportUserRecord.Builder |
setEmail(String email)
Sets an email address for the user.
| ||||||||||
| ImportUserRecord.Builder |
setEmailVerified(boolean emailVerified)
Sets whether the user email address has been verified or not.
| ||||||||||
| ImportUserRecord.Builder |
setPasswordHash(byte[] passwordHash)
Sets a byte array representing the user's hashed password.
| ||||||||||
| ImportUserRecord.Builder |
setPasswordSalt(byte[] passwordSalt)
Sets a byte array representing the user's password salt.
| ||||||||||
| ImportUserRecord.Builder |
setPhoneNumber(String phoneNumber)
Sets the phone number associated with this user.
| ||||||||||
| ImportUserRecord.Builder |
setPhotoUrl(String photoUrl)
Sets the photo URL for the user.
| ||||||||||
| ImportUserRecord.Builder |
setUid(String uid)
Sets a user ID for the user.
| ||||||||||
| ImportUserRecord.Builder |
setUserMetadata(UserMetadata userMetadata)
Sets additional metadata about the user.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Associates all user provider's in the given list with this user.
| providers | A list of UserProvider instances. |
|---|
Adds a user provider to be associated with this user.
A UserProvider represents the identity of the user as specified by an
identity provider that is linked to this user account. The identity provider can specify
its own values for common user attributes like email, display name and photo URL.
| provider | A non-null UserProvider. |
|---|
Builds a new ImportUserRecord.
ImportUserRecord.
Sets the custom claims associated with this user.
| customClaims | a Map of custom claims |
|---|
Sets the specified custom claim on this user account.
| key | Name of the claim. |
|---|---|
| value | Value of the claim. |
Sets whether the user account should be disabled by default or not.
| disabled | a boolean indicating whether the account should be disabled. |
|---|
Sets the display name for the user.
| displayName | a non-null, non-empty display name string. |
|---|
Sets an email address for the user.
| a non-null, non-empty email address string. |
Sets whether the user email address has been verified or not.
| emailVerified | a boolean indicating the email verification status. |
|---|
Sets a byte array representing the user's hashed password. If at least one user account
carries a password hash, a UserImportHash must be specified when calling the
importUsersAsync(List, UserImportOptions) method. See
setHash(UserImportHash).
| passwordHash | A byte array. |
|---|
Sets a byte array representing the user's password salt.
| passwordSalt | A byte array. |
|---|
Sets the phone number associated with this user.
| phoneNumber | a valid phone number string. |
|---|
Sets the photo URL for the user.
| photoUrl | a non-null, non-empty URL string. |
|---|
Sets a user ID for the user.
| uid | a non-null, non-empty user ID that uniquely identifies the user. The user ID must not be longer than 128 characters. |
|---|
Sets additional metadata about the user.
| userMetadata | A UserMetadata instance. |
|---|