public LoginViewModel(IUserRepository repository, IMainViewModel mainViewModel, IUserValidationService userValidationService) { Login = new DelegateCommand <object>(ExecuteLogin, CanExecuteLogin); _repository = repository ?? throw new ArgumentNullException(nameof(repository)); _mainViewModel = mainViewModel ?? throw new ArgumentNullException(nameof(mainViewModel)); _userValidationService = userValidationService ?? throw new ArgumentNullException(nameof(userValidationService)); }
public UserWebService(IUserValidationService userValidationService, IUserService userService) { _userValidationService = userValidationService; _userService = userService; _config = new Mapping.AutoMapperWeb().Configuration; mapper = _config.CreateMapper(); }
public CategoryController(ICategoryService categoryService, IProductService productService, IUserValidationService userValidationService, ILogger <ICategoryService> logger) { _categoryService = categoryService; _productService = productService; _userValidationService = userValidationService; _logger = new CustomLogger(logger); }
public UserController(IUserService userService, ILogger <UserController> logger, IOptions <AppSettings> options, IUserValidationService userValidationService) { _userService = userService; _logger = logger; _appSettings = options.Value; _userValidationService = userValidationService; }
public Login(IUserValidationService service, ILogger logger) { _logger = logger; _validationService = service; _validationService.CustomEvent += new CustomEventHandler(HandleValidationEvent); }
public JwtController(ILogger <JwtController> logger, IUserValidationService uservalidationService, IOptions <AppSettings> options) { _logger = logger; _uservalidationService = uservalidationService; _appSettings = options.Value; var testVal = _appSettings.SecretKey; }
public CollectionController(IUserValidationService userValidationService, ICollectionService service, ILogger <ICategoryService> logger, IConfiguredProductService configuredProductService) { _collectionService = service; _configuredProductService = configuredProductService; _logger = new CustomLogger(logger); _userValidationService = userValidationService; }
public ObjectQuery(IMongoDatabase mapDatabase, IMapFactory mapFactory, IUserValidationService validation, string id) { objects = mapDatabase.GetCollection <BsonDocument>("objects"); this.mapFactory = mapFactory; this.validation = validation; this.id = id; }
public MaterialController(IMaterialService materialService, ILogger <ICategoryService> logger, IProductService productService, IUserValidationService userValidationService) { _materialService = materialService; _productService = productService; _userValidationService = userValidationService; _logger = new CustomLogger(logger); }
public CommandFactory(IUserValidationService userValidationService, IMapObjectsRepository mapObjectsRepository, IMapFactory mapFactory) { this.userValidationService = userValidationService; this.mapObjectsRepository = mapObjectsRepository; this.mapFactory = mapFactory; }
public ConfiguredProductController(IUserValidationService userValidationService, IConfiguredProductService configuredProductService, ILogger <ICategoryService> logger, IProductService productService, IMaterialService materialService) { _configuredProductService = configuredProductService; _productService = productService; _materialService = materialService; _logger = new CustomLogger(logger); _userValidationService = userValidationService; }
public UpdateMapCommand(IUserValidationService userValidationService, IMapObjectsRepository mapObjectsRepository, TimeSpan elapsed) { this.userValidationService = userValidationService; this.mapObjectsRepository = mapObjectsRepository; this.elapsed = elapsed; }
public CreateStorageCommand( IEventStore eventStore, IUserValidationService userValidationService, string newStorageId) { this.eventStore = eventStore; this.userValidationService = userValidationService; this.createStorageEvent = CreateEvent(newStorageId); }
public UserService(IBaseUtilitiesProvider baseUtilitiesProvider, IPasswordService passwordService, IJwtSecurityTokenService jwtSecurityTokenService, IUserValidationService userValidationService) : base(baseUtilitiesProvider) { this.passwordService = passwordService; this.jwtSecurityTokenService = jwtSecurityTokenService; this.userValidationService = userValidationService; }
public UserService( IUserValidationService userValidationService, IPasswordService passwordService, IAddUserProvider addUserProvider) { this.userValidationService = userValidationService; this.passwordService = passwordService; this.addUserProvider = addUserProvider; }
public UserService( IUserRepository userRepository, IMapper mapper, IUserValidationService userValidationService) { _userRepository = userRepository; _mapper = mapper; _userValidationService = userValidationService; }
public UpdateObjectCommand(IUserValidationService userValidationService, IMapObjectsRepository mapObjectsRepository, MapObjectUpdateData updateData, string id) { this.userValidationService = userValidationService; this.mapObjectsRepository = mapObjectsRepository; this.updateData = updateData; this.id = id; }
public GroupValidationService( IAuthorizedUserHelper authorizedUserHelper, IGroupUserRepository groupUserRepository, IUserValidationService userValidationService ) { _groupUserRepository = groupUserRepository; _authorizedUser = authorizedUserHelper.GetAuthorizedUser(); _userValidationService = userValidationService; }
public UserController( IUserValidationService userValidationService, IAuthenticationService authenticationService, IValidationService validationService, ILogService logService) { _userValidationService = userValidationService; _authenticationService = authenticationService; _validationService = validationService; _logService = logService; }
public UserService( UserManager <AllergoUser> userManager, IUserValidationService userValidationService, RoleManager <AllergoRole> roleManager, IDataService dataService) { _userManager = userManager; _userValidationService = userValidationService; _roleManager = roleManager; _dataService = dataService; }
public InstanceService( IAuthenticationService authenticationService, IInstanceRepository instanceRepository, IApplicationSetting applicationSetting, IUserValidationService userValidationService) { this._instanceRepository = instanceRepository; this._authenticationService = authenticationService; this._applicationSetting = applicationSetting; this._userValidationService = userValidationService; }
public AddObjectCommand(IUserValidationService userValidationService, IMapObjectsRepository mapObjectsRepository, IMapFactory mapFactory, MapObjectCreateData createData, string id) { this.userValidationService = userValidationService; this.mapObjectsRepository = mapObjectsRepository; this.mapFactory = mapFactory; this.id = id; this.createData = createData; }
public CommandFactory( IStorageStore storageStore, IEventStore eventStore, ITransactionValidationService transactionValidationService, ISnapshot snapshot, IUserValidationService userValidationService) { this.storageStore = storageStore; this.eventStore = eventStore; this.transactionValidationService = transactionValidationService; this.snapshot = snapshot; this.userValidationService = userValidationService; }
public SignUpController( IUserValidationService userValidationService, IAuthenticationService authenticationService, IApplicationManagerService applicationManagerService, IValidationService validationService, ILogService logService) { _userValidationService = userValidationService; _authenticationService = authenticationService; _applicationManagerService = applicationManagerService; _validationService = validationService; _logService = logService; }
public ChatValidationService( IAuthorizedUserHelper authorizedUserHelper, IChatUserRepository chatUserRepository, IChatRepository chatRepository, IGroupValidationService groupValidationService, IUserValidationService userValidationService ) { _chatUserRepository = chatUserRepository; _groupValidationService = groupValidationService; _chatRepository = chatRepository; _userValidationService = userValidationService; _authorizedUser = authorizedUserHelper.GetAuthorizedUser(); }
public AuthService( IUserService userService, IUserRepository userRepository, IMapper mapper, IAuthValidationService authValidationService, IUserValidationService userValidationService, IConfiguration configuration) { _userService = userService; _userRepository = userRepository; _mapper = mapper; _authValidationServices = authValidationService; _userValidationService = userValidationService; _configuration = configuration; }
public JsRegisterUserRequestValidator(IUserValidationService userValidationService) { RuleFor(x => x.FormalName) .MaximumLength(255); RuleFor(x => x.PreferredName) .NotEmpty() .Length(1, 255); RuleFor(x => x.Email) .EmailAddress(EmailValidationMode.AspNetCoreCompatible) .MustAsync(userValidationService.IsEmailUnique) .WithMessage("Email already taken"); RuleFor(x => x.UserName) .Length(2, 30) .Matches("[A-Za-z0-9._]"); RuleFor(x => x.Password).Password(6); }
public GamerManager(IUserValidationService userValidationService) { _userValidationService = userValidationService; }
public RegisterValidationFilter(IUserValidationService userValidationService) { _userValidationService = userValidationService; }
public LoginValidationFilter(IUserValidationService userValidationService) { _userValidationService = userValidationService; }
public Login(IUserValidationService service) : this(service, null) { }
public Post(IUserValidationService service) { _service = service; }