use of com.microsoft.identity.common.adal.internal.cache.IStorageHelper in project microsoft-authentication-library-common-for-android by AzureAD.
the class BrokerOAuth2TokenCache method initializeFociCache.
private static MicrosoftFamilyOAuth2TokenCache initializeFociCache(@NonNull final Context context) {
final String methodName = ":initializeFociCache";
Logger.verbose(TAG + methodName, "Initializing foci cache");
final IStorageHelper storageHelper = new StorageHelper(context);
final ISharedPreferencesFileManager sharedPreferencesFileManager = SharedPreferencesFileManager.getSharedPreferences(context, BROKER_FOCI_ACCOUNT_CREDENTIAL_SHARED_PREFERENCES, storageHelper);
return getTokenCache(context, sharedPreferencesFileManager, true);
}
Aggregations