| HintRequest |
build()
Builds a
HintRequest.
|
| HintRequest.Builder |
setAccountTypes(String...
accountTypes)
Sets the account types (identity providers) that are accepted by this
application.
|
| HintRequest.Builder |
setEmailAddressIdentifierSupported(boolean
emailAddressIdentifierSupported)
Enables returning
credential hints where the identifier is an email address, intended
for use with a password chosen by the user.
|
| HintRequest.Builder |
setHintPickerConfig(CredentialPickerConfig
hintPickerConfig)
Sets the configuration for the hint picker dialog.
|
| HintRequest.Builder |
setIdTokenNonce(String
idTokenNonce)
Specify a nonce value that should be included in any generated ID token for
this request.
|
| HintRequest.Builder |
setIdTokenRequested(boolean idTokenRequested)
Specify whether an ID token should be acquired for hints, if available for the
selected credential identifier.
|
| HintRequest.Builder |
setPhoneNumberIdentifierSupported(boolean
phoneNumberIdentifierSupported)
Enables returning
credential hints where the identifier is a phone number, intended
for use with a password chosen by the user or SMS verification.
|
| HintRequest.Builder |
setServerClientId(String
serverClientId)
Specify the server client ID for the backend associated with this app.
|
Builds a HintRequest.
Sets the account types (identity providers) that are accepted by this application.
It is strongly recommended that the strings listed in
IdentityProviders be used for the most common identity providers, and
strings representing the login domain of the identity provider be used for any others
which are not listed.
| accountTypes | The list of account types (identity providers) supported by the app. typically in the form of the associated login domain for each identity provider. |
|---|
Enables returning credential
hints where the identifier is an email address, intended for use with a password chosen
by the user.
Sets the configuration for the hint picker dialog.
Specify a nonce value that should be included in any generated ID token for this request.
Specify whether an ID token should be acquired for hints, if available for the selected credential identifier. This is enabled by default; disable this if your app does not use ID tokens as part of authentication to decrease latency in retrieving credentials and credential hints.
Enables returning credential
hints where the identifier is a phone number, intended for use with a password chosen
by the user or SMS verification.
Specify the server client ID for the backend associated with this app. If a Google ID token can be generated for a retrieved credential or hint, and the specified server client ID is correctly configured to be associated with the app, then it will be used as the audience of the generated token. If a null value is specified, the default audience will be used for the generated ID token.