@@ -0,0 +1,1066 @@
+package com.battlelancer.seriesguide.settings;%0A%0Aimport android.content.Context;%0Aimport android.preference.PreferenceManager;%0A%0Apublic class GetGlueSettings %7B%0A%0A    public static final String KEY_AUTH_TOKEN = %22com.battlelancer.seriesguide.getglue.authtoken%22;%0A%0A    public static final String KEY_AUTH_EXPIRATION = %22com.battlelancer.seriesguide.getglue.authexpiration%22;%0A%0A    public static final String KEY_REFRESH_TOKEN = %22com.battlelancer.seriesguide.getglue.refreshtoken%22;%0A%0A    public static String getAuthToken(Context context) %7B%0A        return PreferenceManager.getDefaultSharedPreferences(context)%0A                .getString(KEY_AUTH_TOKEN, null);%0A    %7D%0A%0A    public static long getAuthTokenExpiration(Context context) %7B%0A        return PreferenceManager.getDefaultSharedPreferences(context)%0A                .getLong(KEY_AUTH_EXPIRATION, System.currentTimeMillis());%0A    %7D%0A%0A    public static String getRefreshToken(Context context) %7B%0A        return PreferenceManager.getDefaultSharedPreferences(context)%0A                .getString(KEY_REFRESH_TOKEN, null);%0A    %7D%0A%0A%0A%0A%7D%0A

Add GetGlueSettings to store OAuth 2.0 tokens.