This class is deprecated.
The APIs in CredentialsClient
are deprecated. Instead, use
SignInClient.beginSignIn(BeginSignInRequest) to request for credentials.
Parameters for requesting a Credential,
via
CredentialsApi.request(com.google.android.gms.common.api.GoogleApiClient,
CredentialRequest).
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();
| class | CredentialRequest.Builder | ||
| public static final Creator<CredentialRequest> | CREATOR |
| String[] | |
| Set<String> | |
| CredentialPickerConfig | |
| CredentialPickerConfig | |
| String | |
| String | |
| boolean |
getSupportsPasswordLogin()
This method is deprecated. Use
isPasswordLoginSupported()
|
| boolean | |
| boolean | |
| void |
writeToParcel(Parcel out, int
flags)
|
This method is deprecated.
Use
isPasswordLoginSupported()