|
Credential.Builder(Credential
credential)
Copies the information stored in an existing credential, in order to allow that
information to be modified.
|
| Credential |
build()
|
| Credential.Builder | |
| Credential.Builder | |
| Credential.Builder | |
| Credential.Builder |
setProfilePictureUri(Uri
profilePictureUri)
Sets a profile picture associated with the credential, typically a picture the
user has selected to represent the account.
|
Copies the information stored in an existing credential, in order to allow that information to be modified.
| credential | the existing credential |
|---|
Specifies the account type for a federated credential. The value should be set to
identity provider's login domain, such as "//accounts.google.com" for Google accounts.
The login domains for common identity providers are listed in
IdentityProviders.
| accountType | The type of the account. Typically, one of the values in
IdentityProviders. |
|---|
Sets the display name for the credential, which should be easy for the user to recognize as associated to the credential, and distinguishable from other credentials they may have. This string will be displayed more prominently than, or instead of, the account ID whenever available. In most cases, the name of the user is sufficient.
Sets the password for the credential. Either the password or the account type must be set for a credential, but not both.
Sets a profile picture associated with the credential, typically a picture the user has selected to represent the account.