public AuthenticationFilter(IAuthenticationRedirector redirector, IAuthenticationService authentication, ICurrentChain currentChain, SecuritySettings settings) { _redirector = redirector; _authentication = authentication; _currentChain = currentChain; _settings = settings; }
public AuthorizationBehavior(IAuthorizationNode authorization, IFubuRequestContext context, IAuthorizationFailureHandler failureHandler, SecuritySettings settings) { _authorization = authorization; _context = context; _failureHandler = failureHandler; _settings = settings; }
public void reset_sets_everything_to_enabled() { var settings = new SecuritySettings { AuthenticationEnabled = false, AuthorizationEnabled = false }; settings.Reset(); }