AI2 Component  (Version nb184)
IClientLoginHelper.java
Go to the documentation of this file.
1 // -*- mode: java; c-basic-offset: 2; -*-
2 // Copyright 2009-2011 Google, All Rights reserved
3 // Copyright 2011-2012 MIT, All rights reserved
4 // Released under the Apache License, Version 2.0
5 // http://www.apache.org/licenses/LICENSE-2.0
6 
7 package com.google.appinventor.components.runtime.util;
8 
9 import org.apache.http.HttpResponse;
10 import org.apache.http.client.ClientProtocolException;
11 import org.apache.http.client.methods.HttpUriRequest;
12 
13 import java.io.IOException;
14 
23 public interface IClientLoginHelper {
29  public HttpResponse execute(HttpUriRequest request) throws ClientProtocolException, IOException;
30 
37  public void forgetAccountName();
38 
47  public String getAuthToken() throws ClientProtocolException;
48 
49 }
com.google.appinventor.components.runtime.util.IClientLoginHelper.getAuthToken
String getAuthToken()
com.google.appinventor.components.runtime.util.IClientLoginHelper.execute
HttpResponse execute(HttpUriRequest request)
com.google.appinventor.components.runtime.util.IClientLoginHelper
Definition: IClientLoginHelper.java:23
com.google.appinventor.components.runtime.util.IClientLoginHelper.forgetAccountName
void forgetAccountName()