public FormsAuthenticationUnauthorizedStrategy(IHttpContextHandler httpContextHandler, IFormsAuthentication formsAuthentication)
 {
     this.httpContextHandler  = httpContextHandler ?? HttpContextHandler.Instance;
     this.formsAuthentication = formsAuthentication ?? FormsAuthenticationWrapper.Instance;
 }
Example #2
0
		private MimeTypeHandler(IHttpContextHandler contextHandler, HttpContextBase context) {
			this.contextHandler = contextHandler ?? HttpContextHandler.Instance;
			this.context = context;
		}
 internal UnauthorizedStrategyFactory(IHttpContextHandler httpContextHandler,
                                      IAuthenticationConfigurationLoader authenticationConfigurationLoader)
 {
     this.httpContextHandler = httpContextHandler ?? HttpContextHandler.Instance;
     this.authenticationConfigurationLoader = authenticationConfigurationLoader ?? new AuthenticationConfigurationLoader();
 }
Example #4
0
 private ClientScriptRegistrator(IHttpContextHandler contextHandler, HttpContextBase context)
 {
     this.contextHandler = contextHandler ?? HttpContextHandler.Instance;
     this.context        = context;
 }
Example #5
0
 public ResponseHandler(IHttpContextHandler contextHandler) : this(null, contextHandler, null)
 {
 }
Example #6
0
 private ResponseHandler(IMimeTypeHandler mimeTypeHandler, IHttpContextHandler contextHandler, HttpContextBase context)
 {
     this.contextHandler  = contextHandler ?? HttpContextHandler.Instance;
     this.context         = context;
     this.mimeTypeHandler = mimeTypeHandler ?? (context != null ? new MimeTypeHandler(context) : new MimeTypeHandler(contextHandler));
 }
		public GenericUnauthorizedStrategy(IHttpContextHandler httpContextHandler) {
			this.httpContextHandler = httpContextHandler ?? HttpContextHandler.Instance;
		}
Example #8
0
 public MimeTypeHandler(IHttpContextHandler contextHandler) : this(contextHandler, null)
 {
 }
		internal UnauthorizedStrategyFactory(	IHttpContextHandler httpContextHandler,
												IAuthenticationConfigurationLoader authenticationConfigurationLoader) {
			this.httpContextHandler = httpContextHandler ?? HttpContextHandler.Instance;
			this.authenticationConfigurationLoader = authenticationConfigurationLoader ?? new AuthenticationConfigurationLoader();
		}
Example #10
0
 public GenericUnauthorizedStrategy(IHttpContextHandler httpContextHandler)
 {
     this.httpContextHandler = httpContextHandler ?? HttpContextHandler.Instance;
 }
		public UnauthorizedStrategyFactory(IHttpContextHandler httpContextHandler)
			: this(httpContextHandler, null) {
		}
Example #12
0
		private UserAgent(string currentUserAgent, IHttpContextHandler contextHandler, HttpContextBase context) {
			this.contextHandler = contextHandler ?? HttpContextHandler.Instance;
			this.context = context;
			this.currentUserAgent = currentUserAgent;
		}
Example #13
0
		public UserAgent(IHttpContextHandler contextHandler) : this(null, contextHandler, null) {}
Example #14
0
 public UserAgent(IHttpContextHandler contextHandler) : this(null, contextHandler, null)
 {
 }
		public ClientScriptRegistrator(IHttpContextHandler contextHandler) : this(contextHandler, null) {}
Example #16
0
 private UserAgent(string currentUserAgent, IHttpContextHandler contextHandler, HttpContextBase context)
 {
     this.contextHandler   = contextHandler ?? HttpContextHandler.Instance;
     this.context          = context;
     this.currentUserAgent = currentUserAgent;
 }
		private ClientScriptRegistrator(IHttpContextHandler contextHandler, HttpContextBase context) {
			this.contextHandler = contextHandler ?? HttpContextHandler.Instance;
			this.context = context;
		}
Example #18
0
 private MimeTypeHandler(IHttpContextHandler contextHandler, HttpContextBase context)
 {
     this.contextHandler = contextHandler ?? HttpContextHandler.Instance;
     this.context        = context;
 }
Example #19
0
		public ResponseHandler(IHttpContextHandler contextHandler) : this(null, contextHandler, null) {}
Example #20
0
 public ResponseHandler(IMimeTypeHandler mimeTypeHandler, IHttpContextHandler contextHandler) : this(mimeTypeHandler, contextHandler, null)
 {
 }
Example #21
0
		public ResponseHandler(IMimeTypeHandler mimeTypeHandler, IHttpContextHandler contextHandler) : this(mimeTypeHandler, contextHandler, null) {}
 public UnauthorizedStrategyFactory(IHttpContextHandler httpContextHandler)
     : this(httpContextHandler, null)
 {
 }
Example #23
0
		private ResponseHandler(IMimeTypeHandler mimeTypeHandler, IHttpContextHandler contextHandler, HttpContextBase context) {
			this.contextHandler = contextHandler ?? HttpContextHandler.Instance;
			this.context = context;
			this.mimeTypeHandler = mimeTypeHandler ?? (context != null ? new MimeTypeHandler(context) : new MimeTypeHandler(contextHandler));
		}
Example #24
0
 public ClientScriptRegistrator(IHttpContextHandler contextHandler) : this(contextHandler, null)
 {
 }
Example #25
0
		public MimeTypeHandler(IHttpContextHandler contextHandler) : this(contextHandler, null) {}
Example #26
0
 public TestMessageHandler(IHttpContextHandler handler)
 {
     _handler        = Validate.NotNull(nameof(handler), handler);
     CookieContainer = new CookieContainer();
 }
 public FormsAuthenticationUnauthorizedStrategy(IHttpContextHandler httpContextHandler)
     : this(httpContextHandler, null)
 {
 }