public RsaPkcs1DigitalSignatureService(IHashingService hashingService) { if (hashingService == null) { throw new ArgumentNullException("Hashing service"); } _hashingService = hashingService; }
public ApiOwinAuthConfig( ILoginSessionRepository loginSessionRepository, IAuthKeyRepository authKeyRepository, IUserRepository userRepository, IHashingService hashingService) { _loginSessionRepository = loginSessionRepository; _authKeyRepository = authKeyRepository; _userRepository = userRepository; _hashingService = hashingService; }
public ApiAuthorizationProvider( ILoginSessionRepository loginSessionRepository, IAuthKeyRepository authKeyRepository, IUserRepository userRepository, IHashingService hashingService, string publicClientId) { if (publicClientId == null) throw new ArgumentNullException("publicClientId"); _loginSessionRepository = loginSessionRepository; _authKeyRepository = authKeyRepository; _userRepository = userRepository; _hashingService = hashingService; _publicClientId = publicClientId; }
public void SetUp() { _hashingServiceFake = A.Fake<IHashingService>(); _array = new HashingArray(_hashingServiceFake, 10); }
public AuthenticationService(MovieRamaContext dbContext, IHashingService hashingService) { _dbContext = dbContext; _hashingService = hashingService; }
public GetEmployerAgreementPdfQueryHandler(IValidator <GetEmployerAgreementPdfRequest> validator, IPdfService pdfService, IHashingService hashingService, Lazy <EmployerAccountsDbContext> db) { _validator = validator; _pdfService = pdfService; _hashingService = hashingService; _db = db; }
public GetEmployerAgreementQueryValidator(IMembershipRepository membershipRepository, IEmployerAgreementRepository employerAgreementRepository, IHashingService hashingService) { _membershipRepository = membershipRepository; _employerAgreementRepository = employerAgreementRepository; _hashingService = hashingService; }
public SignEmployerAgreementCommandValidator(IEmployerAgreementRepository employerAgreementRepository, IHashingService hashingService) { _employerAgreementRepository = employerAgreementRepository; _hashingService = hashingService; }
public static HashedId Create(int id, IHashingService hashing) => new HashedId(id, hashing.HashValue(id));
public HashedIdModelBinder(IHashingService hasher) => this._hasher = hasher;
public CommitmentMapper(IHashingService hashingService, IFeatureToggleService featureToggleService, IPublicHashingService publicHashingService) { _hashingService = hashingService; _featureToggleService = featureToggleService; _publicHashingService = publicHashingService; }
public EmailNotificationService(ILog logger, IHashingService hashingService) { Logger = logger; HashingService = hashingService; }
public UniqueMachineId(IHashingService service) { this._hashService = service; this.Id = this.ReadKey(); }
public GetAccountEmployerAgreementsQueryHandler(IAccountRepository accountRepository, IHashingService hashingService, IValidator <GetAccountEmployerAgreementsRequest> validator) { _accountRepository = accountRepository; _hashingService = hashingService; _validator = validator; }
public GetLevyDeclarationQueryHandler(IDasLevyRepository repository, IValidator <GetLevyDeclarationRequest> validator, IHashingService hashingService) { _repository = repository; _validator = validator; _hashingService = hashingService; }
public AuthorizationContextProvider(HttpContextBase httpContext, IHashingService hashingService, IAuthenticationService authenticationService) { _httpContext = httpContext; _hashingService = hashingService; _authenticationService = authenticationService; }
public HashedIdRouteConstraint(IHashingService hasher) => _hasher = hasher;
public TransferRequestMapper(IHashingService hashingService) { _hashingService = hashingService; }
public RegisterUserHandler(IConfiguredDatabaseContextFactory databaseContextFactory, IEventStore eventStore, IKeyStore keyStore, IHashingService hashingService) { Guard.AgainstNull(databaseContextFactory, "databaseContextFactory"); Guard.AgainstNull(eventStore, "eventStore"); Guard.AgainstNull(keyStore, "keyStore"); Guard.AgainstNull(hashingService, "hashingService"); _databaseContextFactory = databaseContextFactory; _eventStore = eventStore; _keyStore = keyStore; _hashingService = hashingService; _log = Log.For(this); }
internal Respondent ToEntity(IHashingService hasher) => new Respondent { Name = Name, Email = Email, HashedPassword = hasher.HashString(Password) };
public LoginControllerService(ICustomerRepository customerRepository, IHashingService hashingService) { _customerRepository = customerRepository; _hashingService = hashingService; }
public ApprenticeshipIndexModel(IOuterApiClient client, IHashingService hashing) { _client = client; _hashing = hashing; }
public static HashedId Create(string hashed, IHashingService hashing) { return(TryCreate(hashed, hashing, out var hashedId) ? hashedId : throw new InvalidHashedIdException(hashed)); }
/// <summary /> public UserDataFactory(DatabaseContext databaseContext, IHashingService hashingService) { _databaseContext = databaseContext; _hashingService = hashingService; }
public GetAccountTransactionSummaryQueryHandler(IHashingService hashingService, ITransactionRepository transactionRepository) { _hashingService = hashingService; _transactionRepository = transactionRepository; }
public AuthorizationContextProvider(IHttpContextAccessor httpContextAccessor, IHashingService hashingService, IAuthenticationService authenticationService) { _httpContextAccessor = httpContextAccessor; _hashingService = hashingService; _authenticationService = authenticationService; }
public GetEmployerEnglishFractionHandler(IValidator <GetEmployerEnglishFractionQuery> validator, IDasLevyService dasLevyService, IMediator mediator, IHashingService hashingService) { _validator = validator; _dasLevyService = dasLevyService; _mediator = mediator; _hashingService = hashingService; }
public SystemPointOfContactService(ISystemAddressService addressService, ISystemPhoneNumberService phoneNumberService, ISystemEmailAddressService emailAddressService, IHashingService hashingService, ISystemUserManager systemUsersManager, IConfiguration configuration, IWebHostEnvironment webHostEnvironment) : base(configuration, webHostEnvironment) { _addressService = addressService; _phoheNumberService = phoneNumberService; _emailAddressService = emailAddressService; _hashingService = hashingService; _systemUsersManager = systemUsersManager; _configuration = configuration; _webHostEnvironment = webHostEnvironment; }
public BlockService(ILogger <BlockService> logger, IHashCalculator hashCalculator, IHashingService hashingService, RepositoryManager repositoryManager, StoreConfiguration sConfig) { _logger = logger; _chainGraphIri = sConfig.ChainGraphIri; _hashCalculator = hashCalculator; _hashingService = hashingService; _repositoryManager = repositoryManager; _rdf4jSerializationHandler = new DotNetRdfSerializationHandler(); _rdf4jMapper = new DotNetRdfMapper(); }
public LegalEntitiesService(HttpClient client, IHashingService hashingService) { _client = client; _hashingService = hashingService; }
public static IEnumerable <LegalEntityModel> ToLegalEntityModel(this IEnumerable <LegalEntityDto> dtos, IHashingService hashingService) { return(dtos.Select(x => x.ToLegalEntityModel(hashingService))); }
public static IEnumerable <ApprenticeshipModel> ToApprenticeshipModel(this IEnumerable <ApprenticeDto> dtos, IHashingService hashingService) { return(dtos.Select(x => new ApprenticeshipModel { Id = hashingService.HashValue(x.ApprenticeshipId), LastName = x.LastName, FirstName = x.FirstName, CourseName = x.CourseName, StartDate = x.StartDate, Uln = x.Uln })); }
public UsersController(IUserService userService, IHashingService hashingService) { _userService = userService; _hashingService = hashingService; }
public UserService(IHashingService hashingService) { this.hashingService = hashingService; }
public RabinKarpPatternSearcher(IHashingService hashingService) { _hashingService = hashingService; }
public MarkerInterfaceWrapper(IHashingService hashingServiceWithCorrectValuesForMarkerInterface) { _hashingServiceWithCorrectValuesForMarkerInterface = hashingServiceWithCorrectValuesForMarkerInterface; }