public override string ReadUserStateValue() { string state = string.Empty; TokenCacheLock.EnterReadLock(); state = (string)_httpContext.Session.GetString(_cacheId + "_state"); TokenCacheLock .ExitReadLock(); return(state); }
public override void Load() { TokenCacheLock.EnterReadLock(); UsertokenCache.Deserialize(_httpContext.Session.Get(_cacheId)); TokenCacheLock.ExitReadLock(); }