public ZzAuthenticationService(IOAuthProvider oAuthProvider , IExternalUserService exUserService, IHttpContextAccessor httpContextAccessor) { _oAuthProvider = oAuthProvider; _exUserService = exUserService; _httpContextAccessor = httpContextAccessor; }
public RegistrationController(Func<RegisterUserPreCommand> registerUserPreCommandAccessor, Func<VerifyAccountPreCommand> verifyAccountPreCommandAccessor, IExternalUserService externalUserService, IProvideUserConfiguration configuration, Func<RegisterExistingUserPreCommand> registerExistingUserPreCommandAccessor) { this.registerUserPreCommandAccessor = registerUserPreCommandAccessor; this.verifyAccountPreCommandAccessor = verifyAccountPreCommandAccessor; this.externalUserService = externalUserService; this.configuration = configuration; this.registerExistingUserPreCommandAccessor = registerExistingUserPreCommandAccessor; }
public ExternalUserController(IExternalUserRepository repository, IMapper mapper, ICustomAuthentication authentication, IExternalUserService externalUserService) { this.repository = repository; this.mapper = mapper; this.authentication = authentication; this.externalUserService = externalUserService; }
public ProjectsService(IUserContextAccessorService userContextAccessorService, IUnitOfWork unitOfWork, ILogger <ProjectsService> logger, IMapper mapper, IErrorService errorService, IProjectAuthorizeService projectAuthorizeService, IValidationService validationService, IExternalUserService externalUserService) { _userContextAccessorService = userContextAccessorService; _unitOfWork = unitOfWork; _logger = logger; _mapper = mapper; _errorService = errorService; _projectAuthorizeService = projectAuthorizeService; _validationService = validationService; _externalUserService = externalUserService; }
public RegisterExistingUserPreCommand(IRegistrationUserValidatorResolver validatorResolver, IPasswordEncoder passwordEncoder, IProvideUserConfiguration configuration, IExternalUserService externalUserService) { if (validatorResolver == null) throw new ArgumentNullException("validatorResolver"); if (passwordEncoder == null) throw new ArgumentNullException("passwordEncoder"); if (configuration == null) throw new ArgumentNullException("configuration"); this.passwordEncoder = passwordEncoder; this.validatorResolver = validatorResolver; this.configuration = configuration; this.externalUserService = externalUserService; }
public FacebookUserProvider(IExternalUserService <SimpleFacebookUserDTO> facebookService) { this.facebookService = facebookService ?? throw new ArgumentNullException(nameof(facebookService)); }
public GoogleUserProvider(IExternalUserService <SimpleGoogleUserDTO> googleService) { this.googleService = googleService ?? throw new ArgumentNullException(nameof(googleService)); }