com.google.api.client.googleapis.auth.clientlogin
Class ClientLogin.Response
java.lang.Object
com.google.api.client.googleapis.auth.clientlogin.ClientLogin.Response
- All Implemented Interfaces:
- HttpExecuteInterceptor, HttpRequestInitializer
- Enclosing class:
- ClientLogin
public static final class ClientLogin.Response
- extends Object
- implements HttpExecuteInterceptor, HttpRequestInitializer
Key/value data to parse a success response.
Sample usage, taking advantage that this class implements HttpRequestInitializer
:
public static HttpRequestFactory createRequestFactory(
HttpTransport transport, Response response) {
return transport.createRequestFactory(response);
}
If you have a custom request initializer, take a look at the sample usage for
HttpExecuteInterceptor
, which this class also implements.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
auth
public String auth
- Authentication token.
ClientLogin.Response
public ClientLogin.Response()
getAuthorizationHeaderValue
public String getAuthorizationHeaderValue()
- Returns the authorization header value to use based on the authentication token.
initialize
public void initialize(HttpRequest request)
- Specified by:
initialize
in interface HttpRequestInitializer
intercept
public void intercept(HttpRequest request)
- Specified by:
intercept
in interface HttpExecuteInterceptor
Copyright © 2010-2012 Google. All Rights Reserved.