// Path: app/src/main/java/com/arellomobile/github/mvp/common/AuthUtils.java
// public class AuthUtils {
// 	private static final String TOKEN = "token";
// 
// 	public static String getToken() {
// 		return PrefUtils.getPrefs().getString(TOKEN, "");
// 	}
// 
// 	public static void setToken(String token) {
// 		PrefUtils.getEditor().putString(TOKEN, token).commit();
// 	}
// }
// 
// Path: app/src/main/java/com/arellomobile/github/mvp/views/SignOutView.java
// public interface SignOutView extends MvpView {
// 	void signOut();
// }


import com.arellomobile.github.mvp.common.AuthUtils;
import com.arellomobile.github.mvp.views.SignOutView;
import com.arellomobile.mvp.InjectViewState;
import com.arellomobile.mvp.MvpPresenter;
package com.arellomobile.github.mvp.presenters;


/**
 * Date: 18.01.2016
 * Time: 16:03
 *
 * @author Yuri Shmakov
 */
@InjectViewState
public class SignOutPresenter extends MvpPresenter<SignOutView> {
	public void signOut() {
// Path: app/src/main/java/com/arellomobile/github/mvp/common/AuthUtils.java
// public class AuthUtils {
// 	private static final String TOKEN = "token";
// 
// 	public static String getToken() {
// 		return PrefUtils.getPrefs().getString(TOKEN, "");
// 	}
// 
// 	public static void setToken(String token) {
// 		PrefUtils.getEditor().putString(TOKEN, token).commit();
// 	}
// }
// 
// Path: app/src/main/java/com/arellomobile/github/mvp/views/SignOutView.java
// public interface SignOutView extends MvpView {
// 	void signOut();
// }


// Path: app/src/main/java/com/arellomobile/github/mvp/presenters/SignOutPresenter.java
import com.arellomobile.github.mvp.common.AuthUtils;
import com.arellomobile.github.mvp.views.SignOutView;
import com.arellomobile.mvp.InjectViewState;
import com.arellomobile.mvp.MvpPresenter;

package com.arellomobile.github.mvp.presenters;


/**
 * Date: 18.01.2016
 * Time: 16:03
 *
 * @author Yuri Shmakov
 */
@InjectViewState
public class SignOutPresenter extends MvpPresenter<SignOutView> {
	public void signOut() {
		AuthUtils.setToken("");