예제 #1
0
 public EmergencyAccessService(
     IEmergencyAccessRepository emergencyAccessRepository,
     IOrganizationUserRepository organizationUserRepository,
     IUserRepository userRepository,
     ICipherRepository cipherRepository,
     IPolicyRepository policyRepository,
     ICipherService cipherService,
     IMailService mailService,
     IUserService userService,
     IPasswordHasher <User> passwordHasher,
     GlobalSettings globalSettings,
     IOrganizationService organizationService,
     IDataProtectorTokenFactory <EmergencyAccessInviteTokenable> dataProtectorTokenizer)
 {
     _emergencyAccessRepository  = emergencyAccessRepository;
     _organizationUserRepository = organizationUserRepository;
     _userRepository             = userRepository;
     _cipherRepository           = cipherRepository;
     _policyRepository           = policyRepository;
     _cipherService          = cipherService;
     _mailService            = mailService;
     _userService            = userService;
     _passwordHasher         = passwordHasher;
     _globalSettings         = globalSettings;
     _organizationService    = organizationService;
     _dataProtectorTokenizer = dataProtectorTokenizer;
 }
 public SendSponsorshipOfferCommand(IUserRepository userRepository,
                                    IMailService mailService,
                                    IDataProtectorTokenFactory <OrganizationSponsorshipOfferTokenable> tokenFactory)
 {
     _userRepository = userRepository;
     _mailService    = mailService;
     _tokenFactory   = tokenFactory;
 }
 public HCaptchaValidationService(
     ILogger <HCaptchaValidationService> logger,
     IHttpClientFactory httpClientFactory,
     IDataProtectorTokenFactory <HCaptchaTokenable> tokenizer,
     GlobalSettings globalSettings)
 {
     _logger            = logger;
     _httpClientFactory = httpClientFactory;
     _globalSettings    = globalSettings;
     _tokenizer         = tokenizer;
 }
예제 #4
0
 public AccountController(
     IAuthenticationSchemeProvider schemeProvider,
     IClientStore clientStore,
     IIdentityServerInteractionService interaction,
     ILogger <AccountController> logger,
     IOrganizationRepository organizationRepository,
     IOrganizationUserRepository organizationUserRepository,
     IOrganizationService organizationService,
     ISsoConfigRepository ssoConfigRepository,
     ISsoUserRepository ssoUserRepository,
     IUserRepository userRepository,
     IPolicyRepository policyRepository,
     IUserService userService,
     II18nService i18nService,
     UserManager <User> userManager,
     IGlobalSettings globalSettings,
     Core.Services.IEventService eventService,
     IDataProtectorTokenFactory <SsoTokenable> dataProtector)
 {
     _schemeProvider             = schemeProvider;
     _clientStore                = clientStore;
     _interaction                = interaction;
     _logger                     = logger;
     _organizationRepository     = organizationRepository;
     _organizationUserRepository = organizationUserRepository;
     _organizationService        = organizationService;
     _userRepository             = userRepository;
     _ssoConfigRepository        = ssoConfigRepository;
     _ssoUserRepository          = ssoUserRepository;
     _policyRepository           = policyRepository;
     _userService                = userService;
     _i18nService                = i18nService;
     _userManager                = userManager;
     _eventService               = eventService;
     _globalSettings             = globalSettings;
     _dataProtector              = dataProtector;
 }
 public ValidateRedemptionTokenCommand(IOrganizationSponsorshipRepository organizationSponsorshipRepository,
                                       IDataProtectorTokenFactory <OrganizationSponsorshipOfferTokenable> dataProtectorTokenFactory)
 {
     _organizationSponsorshipRepository = organizationSponsorshipRepository;
     _dataProtectorTokenFactory         = dataProtectorTokenFactory;
 }