public UsersService(IUsersRepository usersRepository, IHashService hashService, IRolesService rolesService, IConstantsProvider constantsProvider) { UsersRepository = usersRepository; HashService = hashService; RolesService = rolesService; ConstantsProvider = constantsProvider; }
public HashMemberNameGenerator(IHashService hashService) { _hashService = hashService; const int delimLength = 1; MemberPathSubstringLength = MaxMemberNameLength - (_hashService.GetHashLength() + delimLength); }
public void SetUp() { this.path = Path.GetTempFileName(); this.md5Path = Path.GetTempFileName(); this.testee = new HashService(new MD5Algorithm()); }
static SisoEnvironment() { Formatting = new SisoDbFormatting(); StringConverter = new StringConverter(Formatting); StringComparer = StringComparer.InvariantCultureIgnoreCase; HashService = new Crc32HashService(); }
private PasswordController CreateController(IWordService wordService = null, IHashService hashService = null) { return new PasswordController( wordService ?? Substitute.For<IWordService>(), hashService ?? Substitute.For<IHashService>() ); }
public AppLinksService(IPlatformProxy platformProxy, IApplicationSettings applicationSettings, IHashService hashService, IEntitiesRepository entitiesRepository, ILog log) { _platformProxy = platformProxy; _applicationSettings = applicationSettings; _hashService = hashService; _entitiesRepository = entitiesRepository; _log = log; _servicePath = _applicationSettings.AppLinkPath; }
public SecurityService( IUserDataService userDataService, ISessionDataService sessionDataService, IHashService hashService, IUserRegistrationValidator userRegistrationValidator) { _userDataService = userDataService; _sessionDataService = sessionDataService; _hashService = hashService; _userRegistrationValidator = userRegistrationValidator; }
public Login( IServerConnection serverConnection, ICurrentContext currentContext, IHashService hashService, LoginInformations loginInformations, IEventAggregator eventAggregator) { _serverConnection = serverConnection; _currentContext = currentContext; _hashService = hashService; _loginInformations = loginInformations; _eventAggregator = eventAggregator; }
public void SetUp() { this.mockery = new Mockery(); this.algorithm = this.mockery.NewMock<IHashAlgorithm>(); this.reader = this.mockery.NewMock<ITextReader>(); this.writer = this.mockery.NewMock<ITextWriter>(); this.hashReader = this.mockery.NewMock<ITextReader>(); this.testee = new HashService(this.algorithm); }
public DefaultDbQueryChecksumGenerator(IHashService hashService = null) { HashService = hashService ?? new Crc32HashService(); }
public UserManagement(ISettingsManager settingsManager, IHashService hashService) { _settingsManager = settingsManager; _hashService = hashService; }
public MarvelDataService(IHashService hashService) { _hashService = hashService; }
public V8Commit20([Import("HashService")] IHashService hashService, [Import("CovertionService")] IConversionService<UInt64, DateTime> covertionService) { this._convertionService = covertionService; this._hashService = hashService; }
public UsersController(IHashService hashService) { this.hashService = hashService; }
/// <summary> /// Initializes a new instance of the <see cref="AuthenticationService"/> class. /// </summary> /// <param name="documentSession">The documentSession.</param> /// <param name="hashService">The hash service.</param> /// <param name="saltService">The salt service.</param> public AuthenticationService(IDocumentSession documentSession, IHashService hashService, ISaltService saltService) { _documentSession = documentSession; _hashService = hashService; _saltService = saltService; }
/// <summary> /// Initializes a new instance of the <see cref="FileHasher"/> class. /// </summary> public FileHasher() { this.hashService = new HashService(new SHA1Algorithm()); }
public FileEntry(IHashService hashService) { _hashService = hashService; }
public HomeController(IHashService hashService) { _hashService = hashService; }
public V8CommitController(IHashService hashService, IConversionService<UInt64, DateTime> covertionService) { this._convertionService = covertionService; this._hashService = hashService; }
public TokenValidationService(IJsonWebTokenService jwtService, IHashService hashService, IUserService userService) { _jwtService = jwtService; _hashService = hashService; _userService = userService; }
public UserService(IRunesDbContext context, IHashService hashService) { this.context = context; this.hashService = hashService; }
public SlackSignatureValidationService(IHashService hashService) { HashService = hashService; }
public StorageBroker(DbContextOptions <StorageBroker> options, IHashService hashService) : base(options) { _hashService = hashService; }
public AuthenticationService(IUsersRepository users, IFormsAuthentication forms, IHashService hash) { _users = users; _forms = forms; _hash = hash; }
public Authentication(ISettingsManager settingsManager, IHashService hashService) { _settingsManager = settingsManager; _hashService = hashService; }
public Auth(IUserRepository userRepository, IHashService hashService, ILogger <Auth> logger) { _userRepository = userRepository; _hashService = hashService; _logger = logger; }
public ObservatorQueryHandler(VotingContext context, IHashService hash) { _context = context; _hash = hash; }
public AccountService(CaseFileContext context, IEmailService emailService, IHashService hashService) { _context = context; _emailService = emailService; _hashService = hashService; }
public PasswordController(IWordService wordService, IHashService hashService) { _wordService = wordService; _hashService = hashService; }
public ResetPasswordHandler(CaseFileContext CaseFileContext, ILogger <ResetPasswordHandler> logger, IHashService hash) { _CaseFileContext = CaseFileContext; _logger = logger; _hash = hash; }
public void SetHashService(IHashService hashService) => _hashService = hashService;
public InteractionsController(IInteractionsRepo interactions, IUsersRepo users, IHashService hashService) { _interactions = interactions; _users = users; _hashService = hashService; }
/// <summary> /// Constructor for dependency injection /// </summary> /// <param name="context">The EntityFramework context</param> /// <param name="hash">Implementation of the IHashService to be used to generate the hashes. It can either be `HashService` or `ClearTextService`.</param> /// <param name="mobileSecurityOptions">Options for specifying the DeviceLock feature toggle. If MobileSecurity:LockDevice is enabled (set to `true` in settings), the first login of the observer will store the UniqueDeviceId and only that device will be allowed to login.</param> public ObserverAuthenticationQueryHandler(VotingContext context, IHashService hash, IOptions <MobileSecurityOptions> mobileSecurityOptions) { _context = context; _hash = hash; _mobileSecurityOptions = mobileSecurityOptions.Value; }
public CredentialService(ICustomFormsAuthentication customFormsAuthentication, IHashService hashService, ICredentialRepository credentialRepository) { this.CustomFormsAuthentication = customFormsAuthentication; this.CredentialRepository = credentialRepository; this.HashService = hashService; }
public IndexReader(ITetriSettings settings, IThread thread, ITagsService tagService, ILogger <IIndexReader> logger, IFileSystem fileSystem, IHashService hashService) { _settings = settings; _tagService = tagService; _logger = logger; _fileSystem = fileSystem; _hashService = hashService; _thread = thread; }
public AlbumController(IHashService hashService) { this.hashService = hashService; }
public Users_Connexion_POSTHandler(IRepository repository, IHashService hashService) { this.repository = repository; this.hashService = hashService; }
public UsersController() { this.hashService = new HashService(); this.userService = new UserService(); }
public DatabaseCredentialVerifier(CitationContext dbContext, IHashService secureHashService) { _accountContext = dbContext; _hashService = secureHashService; }
public V8Commit20([Import("HashService")] IHashService hashService, [Import("CovertionService")] IConversionService <UInt64, DateTime> covertionService) { this._convertionService = covertionService; this._hashService = hashService; }
public NHibernateUserRepository(ISession session, IHashService hashService) : base(session) { this.hashService = hashService; }
public CreateAccountCommandHandler(IMediator mediator, AuthDataContext repo, IHashService hash) { _repo = repo ?? throw new ArgumentNullException(nameof(repo)); _hash = hash ?? throw new ArgumentNullException(nameof(hash)); _mediator = mediator ?? throw new ArgumentNullException(nameof(mediator)); }
public ShareService(IPathHelper pathHelper, IHashService hashService) { _pathHelper = pathHelper; _hashService = hashService; }
public AccountController(IHashService hashService) { this.hashService = hashService; }
public ApiService(IUsersRepository users, IHashService hash) { _users = users; _hash = hash; }
public UsersController(MusacaDb musacaDb, IHashService service) : base(musacaDb) { this.hashService = service; }
public UserController() { this.hashService = new HashService(); }
public GameService(IHashService hashService, IMessageBus messageBus, IChannelPersistence channelPersistence) { _hashService = hashService; _messageBus = messageBus; _channelPersistence = channelPersistence; }
public DefaultUniquesChecksumGenerator(IHashService hashService = null) { HashService = hashService ?? new Crc32HashService(); }
public Form8_2(IOrderService orderService, IHashService hashService) { InitializeComponent(); this.orderService = orderService; this.hashService = hashService; }
public AccountController() { this.hashService = new HashService(); }
protected override void OnFixtureInitialize() { _hasher = new Crc32HashService(); }
public AuthenticationService(IUsersRepository usersRepository, IHashService hashService) { UsersRepository = usersRepository; HashService = hashService; }