Credential.@Beta @Deprecated public interface Credential extends HttpRequestInitializer, HttpExecuteInterceptor, HttpUnsuccessfulResponseHandler
Beta HttpTransport object to allow for a streamlined auth
experience.
Implementations of this interface should use the PersistenceCapable annotation to allow
credentials to be managed on behalf of the application.
Warning: starting with version 1.7, usage of this for OAuth 2.0 is deprecated. Instead use
Credential.
| Modifier and Type | Method and Description |
|---|---|
boolean |
isInvalid()
Deprecated.
Determine if the Credential is no longer valid, after being revoked for example.
|
initializeintercepthandleResponseCopyright © 2011–2019 Google. All rights reserved.