public FormsAuthenticationUnauthorizedStrategy(IHttpContextHandler httpContextHandler, IFormsAuthentication formsAuthentication) { this.httpContextHandler = httpContextHandler ?? HttpContextHandler.Instance; this.formsAuthentication = formsAuthentication ?? FormsAuthenticationWrapper.Instance; }
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(); }
private ClientScriptRegistrator(IHttpContextHandler contextHandler, HttpContextBase context) { this.contextHandler = contextHandler ?? HttpContextHandler.Instance; this.context = context; }
public ResponseHandler(IHttpContextHandler contextHandler) : this(null, contextHandler, null) { }
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; }
public MimeTypeHandler(IHttpContextHandler contextHandler) : this(contextHandler, null) { }
internal UnauthorizedStrategyFactory( IHttpContextHandler httpContextHandler, IAuthenticationConfigurationLoader authenticationConfigurationLoader) { this.httpContextHandler = httpContextHandler ?? HttpContextHandler.Instance; this.authenticationConfigurationLoader = authenticationConfigurationLoader ?? new AuthenticationConfigurationLoader(); }
public UnauthorizedStrategyFactory(IHttpContextHandler httpContextHandler) : this(httpContextHandler, null) { }
private UserAgent(string currentUserAgent, IHttpContextHandler contextHandler, HttpContextBase context) { this.contextHandler = contextHandler ?? HttpContextHandler.Instance; this.context = context; this.currentUserAgent = currentUserAgent; }
public UserAgent(IHttpContextHandler contextHandler) : this(null, contextHandler, null) {}
public UserAgent(IHttpContextHandler contextHandler) : this(null, contextHandler, null) { }
public ClientScriptRegistrator(IHttpContextHandler contextHandler) : this(contextHandler, null) {}
public ResponseHandler(IHttpContextHandler contextHandler) : this(null, contextHandler, null) {}
public ResponseHandler(IMimeTypeHandler mimeTypeHandler, IHttpContextHandler contextHandler) : this(mimeTypeHandler, contextHandler, null) { }
public ResponseHandler(IMimeTypeHandler mimeTypeHandler, IHttpContextHandler contextHandler) : this(mimeTypeHandler, contextHandler, null) {}
public ClientScriptRegistrator(IHttpContextHandler contextHandler) : this(contextHandler, null) { }
public MimeTypeHandler(IHttpContextHandler contextHandler) : this(contextHandler, null) {}
public TestMessageHandler(IHttpContextHandler handler) { _handler = Validate.NotNull(nameof(handler), handler); CookieContainer = new CookieContainer(); }
public FormsAuthenticationUnauthorizedStrategy(IHttpContextHandler httpContextHandler) : this(httpContextHandler, null) { }