void IFeatureCache.CheckFeaturesRevision()
 {
     if (_cachedFeaturesRevision != _features.Revision)
     {
         _authentication = null;
         _response = null;
         _cachedFeaturesRevision = _features.Revision;
     }
 }
 void IFeatureCache.CheckFeaturesRevision()
 {
     if (_cachedFeaturesRevision !=_features.Revision)
     {
         _items = null;
         _serviceProviders = null;
         _authentication = null;
         _lifetime = null;
         _session = null;
         _cachedFeaturesRevision = _features.Revision;
     }
 }
 public void UnregisterAuthenticationHandler(IHttpAuthenticationFeature auth)
 {
     auth.Handler = PriorHandler;
 }
 public void RegisterAuthenticationHandler(IHttpAuthenticationFeature auth)
 {
     PriorHandler = auth.Handler;
     auth.Handler = this;
 }
Пример #5
0
 public void UnregisterAuthenticationHandler(IHttpAuthenticationFeature auth)
 {
     auth.Handler = PriorHandler;
 }
Пример #6
0
 public void RegisterAuthenticationHandler(IHttpAuthenticationFeature auth)
 {
     PriorHandler = auth.Handler;
     auth.Handler = this;
 }