NGIDUtils

public final class NGIDUtils

Fields

NGID_MY

public static final String NGID_MY

PREF_ACCESS_TOKEN

public static final String PREF_ACCESS_TOKEN

PREF_EMAIL

public static final String PREF_EMAIL

PREF_FIRST_NAME

public static final String PREF_FIRST_NAME

PREF_LAST_NAME

public static final String PREF_LAST_NAME

PREF_REFRESH_TOKEN

public static final String PREF_REFRESH_TOKEN

PREF_USERNAME

public static final String PREF_USERNAME

USER_INFO

public static final String USER_INFO

USER_SUPPORT

public static final String USER_SUPPORT

Methods

get

public static void get(Context context, String url, OnFinish callback)

getToken

public static void getToken(Context context, String login, String password, OnFinish callback)

isLoggedIn

public static boolean isLoggedIn(SharedPreferences preferences)

signOut

public static void signOut(SharedPreferences preferences, Context context)