public CredentialsAuthenticator(ITokenHelper tokenHelper, IHashHelper hashHelper, IUserManager userManager, IHttpRequestMessageHandler httpRequestMessageHandler) { _tokenHelper = tokenHelper; _hashHelper = hashHelper; _userManager = userManager; _httpRequestMessageHandler = httpRequestMessageHandler; }
public HttpRequestMessageHandler(IOptions <WMSProxyOptions> options, IHashHelper hashHelper, ICredentialExtractor credentialExtractor, ITokenHelper tokenHelper) { _options = options.Value; _hashHelper = hashHelper; _credentialExtractor = credentialExtractor; _tokenHelper = tokenHelper; }
public AuthenticationService(IUserRepository userRepository, ITokenBuilder tokenBuilderService, IHashHelper hashHelper) { _userRepository = userRepository; _tokenBuilderService = tokenBuilderService; _hashHelper = hashHelper; }
public AppUserRepository( AppDomainContext context, IHashHelper hashHelper ) : base(context) { _hashHelper = hashHelper; }
public SimpleUserManager(ILogger logger, IUserDataAccessService userDataAccess, IHashHelper hashHelper, GameSessions gameSessions) { _logger = logger; _userDataAccess = userDataAccess; _hashHelper = hashHelper; _gameSessions = gameSessions; }
public UsersController(ILayersCmsUserReads userReads, ILayersCmsUserWrites userWrites, IHashHelper hashHelper) : base(userReads) { _userReads = userReads; _userWrites = userWrites; _hashHelper = hashHelper; }
public UsersController(IUserService userService, IConfiguration configuration, IHashHelper hashHelper, ILogger <UsersController> logger) { _logger = logger; _jwtSigningKey = configuration["JWT:SigningKey"]; _authSessionInMinutes = Double.TryParse(configuration["Auth:SessionInMinutes"], out _authSessionInMinutes) ? _authSessionInMinutes : 30.0; _userService = userService; _hashHelper = hashHelper; }
public HmacAuthenticationHandler(ISecretRepository secretRepository, IBuildMessageRepresentation representationBuilder, ICalculateSignature signatureCalculator, IHashHelper hashHelper) { _secretRepository = secretRepository; _representationBuilder = representationBuilder; _signatureCalculator = signatureCalculator; _hashHelper = hashHelper; }
public WMSResponseHandler(IHashHelper hashHelper, IOptions <RuntimeOptions> runtimeOptions) { _hashHelper = hashHelper ?? throw new ArgumentNullException(nameof(hashHelper)); if (runtimeOptions == null) { throw new ArgumentNullException(nameof(runtimeOptions)); } _runtimeOptions = runtimeOptions.Value; }
public LoginController(IUnitOfWork unitOfWork, IHashHelper hashHelper) { _unitOfWork = unitOfWork; _hashHelper = hashHelper; //logger.Trace("Sample trace message"); //logger.Debug("Sample debug message"); //logger.Info("Sample informational message"); //logger.Warn("Sample warning message"); //logger.Error("Sample error message"); //logger.Fatal("Sample fatal error message"); }
public UserService( IUserRepository userRepository, ITokenHelper tokenHelper, IPasswordHelper passwordHelper, IHashHelper hashHelper ) { _userRepository = userRepository; _tokenHelper = tokenHelper; _passwordHelper = passwordHelper; _hashHelper = hashHelper; }
public LoginService( IUserRepository UserRepository, IHashHelper HashHelper, ISettingRepository SettingRepository ) { if ( UserRepository == null ) { throw new ArgumentNullException( "UserRepository" ); } if ( HashHelper == null ) { throw new ArgumentNullException( "HashHelper" ); } if ( SettingRepository == null ) { throw new ArgumentNullException( "SettingRepository" ); } this.userRepository = UserRepository; this.hashHelper = HashHelper; this.settingRepository = SettingRepository; }
public PersistenceWorker(ILogger logger, GameSessions gameSessions, IGameDataPersisterFactory gameDataPersisterFactory, IHashHelper hashHelper, PerformanceInfo performanceInfo) { _logger = logger; _gameSessions = gameSessions; _gameDataPersisterFactory = gameDataPersisterFactory; _hashHelper = hashHelper; _performanceInfo = performanceInfo; Name = "Games persistence worker"; _gameDataPersisterFactory = gameDataPersisterFactory; for (int i = 0; i < PersistTimeSlotsUsers.Length; i++) { PersistTimeSlotsUsers[i] = new ConcurrentBag <Tuple <string, string, DateTime> >(); } gameSessions.GameStarted += GameSessions_GameStarted; gameSessions.GameRemoved += GameSessions_GameRemoved; gameSessions.AllGamesRemoved += GameSessions_AllGamesRemoved; }
public void Setup() { _sut = new HashHelper(); }
public UserLogic(IUserRepository repo, IHashHelper helper) { _repo = repo; _helper = helper; }
public RegisterService(IHashHelper hashHelper, IUserRepository userRepository) { _hashHelper = hashHelper; _userRepository = userRepository; }
public void Setup() { _sut = new HashHelper(); _fixture = new Fixture(); }
/// <param name="hashHelper">The hashing helper to hash the user's password</param> public DatabaseSchemaSetup(IHashHelper hashHelper) { _hashHelper = hashHelper; }
public UserDBSeeder(UserDBContext context, IHashHelper hashHelper, IUserManager userManager) { _context = context; _hashHelper = hashHelper; _userManager = userManager; }
public AuthController(IHashHelper hashHelper, IUserRepository userRepository, IAuthenticationService authenticationService) { this._hashHelper = hashHelper; this._userRepository = userRepository; this._authenticationService = authenticationService; }
public ObjectStateManager(IHashHelper hashHelper, IStateStore stateStore) { _hashHelper = Guard.EnsureIsNotNull("hashHelper", hashHelper); //InitialObjectStates = new ConcurrentDictionary<string, InitialObjectState>(); }
public CmsConfigController(IHashHelper hashHelper) { _hashHelper = hashHelper; }
public APIHelper(IStockDataUnitOfWork unitOfWork, IHashHelper hashHelper) { _hashHelper = hashHelper; _unitOfWork = unitOfWork; }
public CalendarController(IUnitOfWork unitOfWork, IHashHelper hashHelper) { _unitOfWork = unitOfWork; }
public ClientController(IOptions <TokenSettings> settings, IDataRepository dataRepository, IHashHelper hashHelper) { _settings = settings.Value ?? throw new ArgumentNullException(nameof(settings)); _dataRepository = dataRepository ?? throw new ArgumentNullException(nameof(dataRepository)); _hashHelper = hashHelper ?? throw new ArgumentNullException(nameof(hashHelper)); }
public AuthRepository(ExampleDbContext context, IHashHelper hashHelper) { _context = context; _hashHelper = hashHelper; }
public LoginDataService(IAppDataService appDataService, IUserInfo userInfo, IHashHelper hashHelper) { this.appDataService = appDataService; this.userInfo = userInfo; this.hashHelper = hashHelper; }
public UserRepository(AppDbContext context, IHashHelper hashHelper) : base(context) { _hashHelper = hashHelper; }
public UserManagement(IUserDAL userDal, IHashHelper hashHelper) { _userDal = userDal; _hashHelper = hashHelper; }
public UsersRepo(MyFaceDbContext context, IHashHelper hashHelper) { _context = context; _hashHelper = hashHelper; }
public UsersController(IUnitOfWork unitOfWork, IHashHelper hashHelper) { _hashHelper = hashHelper; _unitOfWork = unitOfWork; }
public Configuration() { AutomaticMigrationsEnabled = false; _hashHelper = new HashHelper(); }