java.lang.Object | |
↳ | com.google.android.gms.auth.api.credentials.CredentialRequest |
Parameters for requesting a Credential
, via
Auth.CredentialsApi.request()
.
Instances can be created using CredentialRequest.Builder
. For a typical application that
supports password based authentication and Google sign-in, the CredentialRequest
would
look like:
CredentialRequest request = new CredentialRequest.Builder()
.setAccountTypes(IdentityProviders.GOOGLE)
.setPasswordLoginSupported(true)
.build();
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CredentialRequest.Builder |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CREATOR |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
Use
isPasswordLoginSupported()
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |