public BasicAuthentication(IRepository <User> userRepo, ITokenAuthentication tokenAuth, IHttpContextAccessor httpContextAccessor) { _userRepo = userRepo; _tokenAuth = tokenAuth; _httpContextAccessor = httpContextAccessor; }
public Authentication(IRepository <User> userRepo, IPasswordHasherService hasher, IPasswordRegex passwordRegex, ITokenAuthentication tokenAuth, IHttpContextAccessor httpContextAccessor) : base(userRepo, tokenAuth, httpContextAccessor) { _userRepo = userRepo; _hasher = hasher; _passwordRegex = passwordRegex; _tokenAuth = tokenAuth; }
public AuthenticationController(IAuthentication auth, IConfiguration configuration, ITokenAuthentication tokenAuth, IRepository <User> userRepo, IMailer mailer) { _auth = auth; _configuration = configuration; _tokenAuth = tokenAuth; _userRepo = userRepo; _mailer = mailer; }
private ApplicationManager() { _servers = new List <Server>(); Commands = new List <Command>(); TaskStatuses = new List <AsyncStatus>(); MessageTokens = new List <MessageToken>(); ClientSvc = new ClientService(); AliasSvc = new AliasService(); PenaltySvc = new PenaltyService(); ConfigHandler = new BaseConfigurationHandler <ApplicationConfiguration>("IW4MAdminSettings"); StartTime = DateTime.UtcNow; OnQuit = new ManualResetEventSlim(); PageList = new PageList(); AdditionalEventParsers = new List <IEventParser>(); AdditionalRConParsers = new List <IRConParser>(); OnServerEvent += OnGameEvent; OnServerEvent += EventApi.OnGameEvent; _authenticator = new TokenAuthentication(); _metaService = new MetaService(); }
public WebApiAuthenticationHandler(ITokenAuthentication tokenAuthentication) { this.authentication = tokenAuthentication; }
public CompetitionsController(ICompetitionRepository competitionRepository, IMapper mapper, ITokenAuthentication authentication) { _competitionRepository = competitionRepository; _mapper = mapper; _authentication = authentication; }
public UsuarioController(ITokenAuthentication authentication) { this.authentication = authentication; }