public FormsAuthenticationUnauthorizedStrategy(IHttpContextHandler httpContextHandler, IFormsAuthentication formsAuthentication)
 {
     this.httpContextHandler  = httpContextHandler ?? HttpContextHandler.Instance;
     this.formsAuthentication = formsAuthentication ?? FormsAuthenticationWrapper.Instance;
 }
Exemplo n.º 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();
 }
Exemplo n.º 4
0
 private ClientScriptRegistrator(IHttpContextHandler contextHandler, HttpContextBase context)
 {
     this.contextHandler = contextHandler ?? HttpContextHandler.Instance;
     this.context        = context;
 }
Exemplo n.º 5
0
 public ResponseHandler(IHttpContextHandler contextHandler) : this(null, contextHandler, null)
 {
 }
Exemplo n.º 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;
		}
Exemplo n.º 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();
		}
Exemplo n.º 10
0
 public GenericUnauthorizedStrategy(IHttpContextHandler httpContextHandler)
 {
     this.httpContextHandler = httpContextHandler ?? HttpContextHandler.Instance;
 }
		public UnauthorizedStrategyFactory(IHttpContextHandler httpContextHandler)
			: this(httpContextHandler, null) {
		}
Exemplo n.º 12
0
		private UserAgent(string currentUserAgent, IHttpContextHandler contextHandler, HttpContextBase context) {
			this.contextHandler = contextHandler ?? HttpContextHandler.Instance;
			this.context = context;
			this.currentUserAgent = currentUserAgent;
		}
Exemplo n.º 13
0
		public UserAgent(IHttpContextHandler contextHandler) : this(null, contextHandler, null) {}
Exemplo n.º 14
0
 public UserAgent(IHttpContextHandler contextHandler) : this(null, contextHandler, null)
 {
 }
Exemplo n.º 15
0
		public ClientScriptRegistrator(IHttpContextHandler contextHandler) : this(contextHandler, null) {}
Exemplo n.º 16
0
 private UserAgent(string currentUserAgent, IHttpContextHandler contextHandler, HttpContextBase context)
 {
     this.contextHandler   = contextHandler ?? HttpContextHandler.Instance;
     this.context          = context;
     this.currentUserAgent = currentUserAgent;
 }
Exemplo n.º 17
0
		private ClientScriptRegistrator(IHttpContextHandler contextHandler, HttpContextBase context) {
			this.contextHandler = contextHandler ?? HttpContextHandler.Instance;
			this.context = context;
		}
Exemplo n.º 18
0
 private MimeTypeHandler(IHttpContextHandler contextHandler, HttpContextBase context)
 {
     this.contextHandler = contextHandler ?? HttpContextHandler.Instance;
     this.context        = context;
 }
Exemplo n.º 19
0
		public ResponseHandler(IHttpContextHandler contextHandler) : this(null, contextHandler, null) {}
Exemplo n.º 20
0
 public ResponseHandler(IMimeTypeHandler mimeTypeHandler, IHttpContextHandler contextHandler) : this(mimeTypeHandler, contextHandler, null)
 {
 }
Exemplo n.º 21
0
		public ResponseHandler(IMimeTypeHandler mimeTypeHandler, IHttpContextHandler contextHandler) : this(mimeTypeHandler, contextHandler, null) {}
Exemplo n.º 22
0
 public UnauthorizedStrategyFactory(IHttpContextHandler httpContextHandler)
     : this(httpContextHandler, null)
 {
 }
Exemplo n.º 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));
		}
Exemplo n.º 24
0
 public ClientScriptRegistrator(IHttpContextHandler contextHandler) : this(contextHandler, null)
 {
 }
Exemplo n.º 25
0
		public MimeTypeHandler(IHttpContextHandler contextHandler) : this(contextHandler, null) {}
Exemplo n.º 26
0
 public TestMessageHandler(IHttpContextHandler handler)
 {
     _handler        = Validate.NotNull(nameof(handler), handler);
     CookieContainer = new CookieContainer();
 }
 public FormsAuthenticationUnauthorizedStrategy(IHttpContextHandler httpContextHandler)
     : this(httpContextHandler, null)
 {
 }