Package | Description |
---|---|
com.google.api.client.googleapis.extensions.android.gms.auth |
Modifier and Type | Method and Description |
---|---|
GoogleAccountCredential |
GoogleAccountCredential.setBackOff(com.google.api.client.util.BackOff backOff)
Sets the back-off policy which is used when an I/O exception is thrown inside
getToken()
or null for none. |
GoogleAccountCredential |
GoogleAccountCredential.setSelectedAccount(android.accounts.Account selectedAccount)
Sets the selected Google
Account or null for none. |
GoogleAccountCredential |
GoogleAccountCredential.setSelectedAccountName(String accountName)
Sets the selected Google account name (e-mail address) -- for example
"johndoe@gmail.com" -- or null for none. |
GoogleAccountCredential |
GoogleAccountCredential.setSleeper(com.google.api.client.util.Sleeper sleeper)
Sets the sleeper.
|
static GoogleAccountCredential |
GoogleAccountCredential.usingAudience(android.content.Context context,
String audience)
Sets the audience scope to use with Google Cloud Endpoints.
|
static GoogleAccountCredential |
GoogleAccountCredential.usingOAuth2(android.content.Context context,
Collection<String> scopes)
Constructs a new instance using OAuth 2.0 scopes.
|
Copyright © 2010–2019 Google. All rights reserved.