| Package | Description |
|---|---|
| com.google.api.client.auth.oauth2 |
Implementation of the OAuth 2.0 Authorization
Framework.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CredentialStoreRefreshListener
Thread-safe OAuth 2.0 credential refresh listener that stores the refresh token response in the
credential store.
|
| Modifier and Type | Method and Description |
|---|---|
List<CredentialRefreshListener> |
Credential.getRefreshListeners()
Returns the unmodifiable list of listeners for refresh token results.
|
List<CredentialRefreshListener> |
Credential.Builder.getRefreshListeners()
Returns the listeners for refresh token results or
null for none. |
| Modifier and Type | Method and Description |
|---|---|
Credential.Builder |
Credential.Builder.addRefreshListener(CredentialRefreshListener refreshListener)
Adds a listener for refresh token results.
|
| Modifier and Type | Method and Description |
|---|---|
Credential.Builder |
Credential.Builder.setRefreshListeners(List<CredentialRefreshListener> refreshListeners)
Sets the listeners for refresh token results or
null for none. |
| Constructor and Description |
|---|
Credential(Credential.AccessMethod method,
com.google.api.client.http.HttpTransport transport,
com.google.api.client.json.JsonFactory jsonFactory,
String tokenServerEncodedUrl,
com.google.api.client.http.HttpExecuteInterceptor clientAuthentication,
com.google.api.client.http.HttpRequestInitializer requestInitializer,
List<CredentialRefreshListener> refreshListeners)
Deprecated.
(scheduled to be removed in 1.15) Use
Credential.Credential(Builder) |
Credential(Credential.AccessMethod method,
com.google.api.client.http.HttpTransport transport,
com.google.api.client.json.JsonFactory jsonFactory,
String tokenServerEncodedUrl,
com.google.api.client.http.HttpExecuteInterceptor clientAuthentication,
com.google.api.client.http.HttpRequestInitializer requestInitializer,
List<CredentialRefreshListener> refreshListeners,
com.google.api.client.util.Clock clock)
Deprecated.
(scheduled to be removed in 1.15) Use
Credential.Credential(Builder) |
Copyright © 2011-2013 Google. All Rights Reserved.