public SessionController( ILoggerFactory loggerFactory, IUserRepository userRepository, ICtfConfigurationLoader ctfConfigurationLoader, UserPreviewRepository userPreviewRepository, OAuthProviderSelector oAuthSelector, JwtHandler jwt, ActionTokenPairHandler actionTokenPairHandler, PasswordHandler pwdHandler, IOAuthStateRepository oAuthStateRepository, IMfaStateRepository mfaStateRepository, LoginSettingsRepository loginSettingsRepository, MfaValidatorService mfaValidator, IMfaRepository mfaRepository) : base(loggerFactory, userRepository, userPreviewRepository, ctfConfigurationLoader) { this.OAuthSelector = oAuthSelector; this.Jwt = jwt; this.ActionTokenPairHandler = actionTokenPairHandler; this.Password = pwdHandler; this.OAuthStateRepository = oAuthStateRepository; this.MfaStateRepository = mfaStateRepository; this.LoginSettingsRepository = loginSettingsRepository; this.MfaValidator = mfaValidator; this.MfaRepository = mfaRepository; }
public TeamController( ILoggerFactory loggerFactory, IUserRepository userRepository, UserPreviewRepository userPreviewRepository, ICtfConfigurationLoader ctfConfigurationLoader) : base(loggerFactory, userRepository, userPreviewRepository, ctfConfigurationLoader) { }
protected RosettaControllerBase( ILoggerFactory loggerFactory, IUserRepository userRepository, UserPreviewRepository userPreviewRepository, ICtfConfigurationLoader ctfConfigurationLoader) { this.LoggerFactory = loggerFactory; this.UserRepository = userRepository; this.UserPreviewRepository = userPreviewRepository; this.EventConfiguration = ctfConfigurationLoader.LoadEventData(); }
public CtfTimeController( ILoggerFactory loggerFactory, IUserRepository userRepository, UserPreviewRepository userPreviewRepository, ICtfConfigurationLoader ctfConfigurationLoader, ICtfChallengeRepository challengeRepository, ICtfChallengeCacheRepository ctfChallengeCacheRepository) : base(loggerFactory, userRepository, userPreviewRepository, ctfConfigurationLoader) { this.ChallengeRepository = challengeRepository; this.ChallengeCacheRepository = ctfChallengeCacheRepository; }
public ChallengesController( ILoggerFactory loggerFactory, IUserRepository userRepository, UserPreviewRepository userPreviewRepository, ICtfConfigurationLoader ctfConfigurationLoader, ICtfChallengeRepository challengeRepository, ChallengePreviewRepository challengePreviewRepository, ICtfChallengeCacheRepository challengeCacheRepository, ScoreCalculatorService scoreCalculator) : base(loggerFactory, userRepository, userPreviewRepository, ctfConfigurationLoader) { this.ChallengeRepository = challengeRepository; this.ChallengePreviewRepository = challengePreviewRepository; this.ChallengeCacheRepository = challengeCacheRepository; this.ScoreCalculator = scoreCalculator; }