public interface IClientLoginHelper
Modifier and Type | Method and Description |
---|---|
org.apache.http.HttpResponse |
execute(org.apache.http.client.methods.HttpUriRequest request)
Wraps an HttpClient.execute() to manage the authorization headers.
|
void |
forgetAccountName()
Forget about the account the user chose.
|
java.lang.String |
getAuthToken()
Uses AccountManager to retrieve an accessToken that can be
used to access Google APIs.
|
org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest request) throws org.apache.http.client.ClientProtocolException, java.io.IOException
org.apache.http.client.ClientProtocolException
java.io.IOException
void forgetAccountName()
java.lang.String getAuthToken() throws org.apache.http.client.ClientProtocolException
org.apache.http.client.ClientProtocolException