void ITokenCacheInternal.ClearAdalCache() { IDictionary <AdalTokenCacheKey, AdalResultWrapper> dictionary = AdalCacheOperations.Deserialize(Logger, LegacyCachePersistence.LoadCache()); dictionary.Clear(); LegacyCachePersistence.WriteCache(AdalCacheOperations.Serialize(Logger, dictionary)); }
internal void DeserializeAdalV3NoLocks(byte[] adalV3State) { LegacyCachePersistence.WriteCache(adalV3State); }
internal byte[] SerializeAdalV3NoLocks() { return(LegacyCachePersistence.LoadCache()); }
void ITokenCacheSerializer.DeserializeAdalV3(byte[] adalV3State) { LegacyCachePersistence.WriteCache(adalV3State); }
byte[] ITokenCacheSerializer.SerializeAdalV3() { return(LegacyCachePersistence.LoadCache()); }