@Beta
public interface Credential
extends com.google.api.client.http.HttpRequestInitializer, com.google.api.client.http.HttpExecuteInterceptor, com.google.api.client.http.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()
Determine if the Credential is no longer valid, after being revoked for example.
|
Copyright © 2011-2013 Google. All Rights Reserved.