public CryptoController() { // should be refactored after DI functionality added this.uaCryptoRepository = new UaCryptoVerificationRepository(); //new DpaVerificationRepository(); }
//to inject the account servive? in order to get the random func? public VerificationService( //IAccountService accountService, IVerificationRepository verificationRepository) { //_accountService = accountService; _verificationRepository = verificationRepository; }
public UnitOfWork(BlogContext context, IPostRepository posts, IPostContentRepository postContents, ICommentRepository comments, ITagRepository tags, IRatingRepository ratings, IVerificationRepository authorVerifications, IVerificationStatusRepository verificationStatuses, IProfileRepository userProfiles, UserManager <User> userManager, RoleManager <IdentityRole> roleManager, SignInManager <User> signInManager) { _context = context; Posts = posts; PostContents = postContents; Comments = comments; Tags = tags; Ratings = ratings; AuthorVerifications = authorVerifications; VerificationStatuses = verificationStatuses; UserProfiles = userProfiles; UserManager = userManager; RoleManager = roleManager; SignInManager = signInManager; }
public AccountService(IAccountRepository accountRepository, IVerificationRepository verificationRepository, IVerificationService verificationService) { _accountRepository = accountRepository; _verificationRepository = verificationRepository; _verificationService = verificationService; }
public VerificationService( ILogger <VerificationService> logger, IConfiguration config, IVerificationRepository validationRepository, HttpClient client) : base(client, config, "Services:Validation") { _logger = logger; _validationRepository = validationRepository; }
public VerificationAppService( IVerificationRepository verificationRepository, IVerificationService verificationService, IDbUnitOfWork dbUnitOfWork, IEventBus eventBus) : base(dbUnitOfWork) { _verificationRepository = verificationRepository; _verificationService = verificationService; _eventBus = eventBus; }
public Google( AndroidPublisherService googleService, IVerificationRepository verificationRepository, IConfiguration configuration) { _googleService = googleService; _verificationRepository = verificationRepository; _graceDays = int.TryParse(configuration["GraceDays"], out var val) ? val : 0; }
public MessageAppService(IDbUnitOfWork dbUnitOfWork, IVerificationRepository verificationRepo, IVerificationService verificationService, IEventBus eventBus, ITest test) : base(dbUnitOfWork) { _verificationRepository = verificationRepo; _verificationService = verificationService; _eventBus = eventBus; _test = test; }
public VerificationAppService( IVerificationRepository verificationRepository, IVerificationService verificationService, IDbUnitOfWork dbUnitOfWork, IEventBus eventBus, ITest test) : base(dbUnitOfWork) { _verificationRepository = verificationRepository; _verificationService = verificationService; _eventBus = eventBus;// IocProvider.GetService<IEventBus>(); _test = test; }
public VerificationAppService( IVerificationRepository verificationRepository, IVerificationService verificationService, IDbUnitOfWork dbUnitOfWork, IEventBus eventBus, ISmsProxy smsProxy) { _verificationRepository = verificationRepository; _verificationService = verificationService; _dbUnitOfWork = dbUnitOfWork; _eventBus = eventBus; _smsProxy = smsProxy; }
public Apple( IHttpClientFactory httpClientFactory, IConfiguration configuration, IVerificationRepository verificationRepository) { _httpClient = httpClientFactory.CreateClient(); _configuration = configuration; _verificationRepository = verificationRepository; _serializer = new JsonSerializer() { ContractResolver = new DefaultContractResolver() { NamingStrategy = new SnakeCaseNamingStrategy() } }; _graceDays = int.TryParse(_configuration["GraceDays"], out var val) ? val : 0; }
public PhoneVerifyController(IVerificationRepository verificationRepository) { this._number = this.GenerateCode(); this._verificationRepository = verificationRepository; }
public VerifyRegistrationController(IVerificationRepository verificationRepository) { _verificationRepository = verificationRepository; }
public CryptoController(IVerificationRepository uaCryptoRepository) { this.uaCryptoRepository = uaCryptoRepository; }
public ForgotPasswordController(IUserRepository userRepository, IOptions <AppSettings> appSettings, IVerificationRepository verificationRepository) { _userRepository = userRepository; _verificationRepository = verificationRepository; _appSettings = appSettings.Value; }
public VerificationSentEventHandler(IVerificationRepository verificationRepository) { verificationRepository = _verificationRepository; }
public VerificationSentEventHandler(IVerificationRepository verificationRepository, IEventBus bus) : base(bus, false) { _verificationRepository = verificationRepository; _eventBus = bus; }
public UserAuthorizationHandler(IUserAccountRepository accounts, IVerificationRepository verificationCodes) { _accounts = accounts; _verificationCodes = verificationCodes; }
public VerificationService( //IConfigurationRoot configurationRoot, IVerificationRepository verificationRepository) { _verificationRepository = verificationRepository; }
public ResetPasswordController(IUserRepository userRepository, IVerificationRepository verificationRepository) { _userRepository = userRepository; _verificationRepository = verificationRepository; }
public PortalController(IUserRepository userRepository, IVerificationRepository verificationRepository) { _userRepository = userRepository; _verificationRepository = verificationRepository; }
public RegistrationController(IUserRepository userRepository, IVerificationRepository verificationRepository, IOptions <AppSettings> appSettings) { _userRepository = userRepository; _verificationRepository = verificationRepository; _appSettings = appSettings.Value; }
public VerifyResetPasswordController(IVerificationRepository verificationRepository) { _verificationRepository = verificationRepository; }
public VerificationCodeHandler(IVerificationRepository repository) { _repository = repository; }