Microsoft.Alm.Authentication.VstsAdalTokenCache.VstsAdalTokenCache C# (CSharp) Method

VstsAdalTokenCache() public method

Default constructor.
public VstsAdalTokenCache ( ) : System
return System
        public VstsAdalTokenCache()
        {
            string localAppDataPath = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData);
            string directoryPath = Path.Combine(localAppDataPath, AdalCachePath);

            AfterAccess = AfterAccessNotification;
            BeforeAccess = BeforeAccessNotification;

            string filePath = Path.Combine(directoryPath, AdalCacheFile);

            _cacheFilePath = filePath;

            BeforeAccessNotification(null);
        }

Same methods

VstsAdalTokenCache::VstsAdalTokenCache ( byte state ) : System