Beispiel #1
0
 public AuthenticateOrchestrator(
     ILogger <AuthenticateOrchestrator> logger,
     IEventNotificationService eventNotificationService,
     IOneTimeCodeService oneTimeCodeService,
     IMessageService messageService,
     IUserStore userStore,
     PasswordlessLoginOptions passwordlessLoginOptions,
     IPasswordService passwordService,
     IUrlService urlService,
     IHttpContextAccessor httpContextAccessor,
     ITrustedBrowserStore trustedBrowserStore,
     ISignInService signInService,
     IApplicationService applicationService,
     IApplicationLocalizer localizer)
 {
     _logger = logger;
     _eventNotificationService = eventNotificationService;
     _oneTimeCodeService       = oneTimeCodeService;
     _userStore           = userStore;
     _messageService      = messageService;
     _passwordService     = passwordService;
     _options             = passwordlessLoginOptions;
     _urlService          = urlService;
     _httpContext         = httpContextAccessor.HttpContext;
     _trustedBrowserStore = trustedBrowserStore;
     _signInService       = signInService;
     _applicationService  = applicationService;
     _localizer           = localizer;
 }
 public OneTimeCodeService(
     IApplicationLocalizer localizer,
     ILogger <OneTimeCodeService> logger,
     IOneTimeCodeStore oneTimeCodeStore,
     PasswordlessLoginOptions passwordlessLoginOptions
     )
 {
     _localizer        = localizer;
     _logger           = logger;
     _oneTimeCodeStore = oneTimeCodeStore;
     _options          = passwordlessLoginOptions;
 }
 public DefaultPasswordService(
     IApplicationLocalizer localizer,
     ILogger <DefaultPasswordService> logger,
     IPasswordHashService passwordHashService,
     IPasswordHashStore passwordHashStore,
     PasswordlessLoginOptions passwordlessLoginOptions
     )
 {
     _localizer                = localizer;
     _logger                   = logger;
     _passwordHashService      = passwordHashService;
     _passwordHashStore        = passwordHashStore;
     _passwordlessLoginOptions = passwordlessLoginOptions;
 }
 public MessageService(
     IApplicationLocalizer localizer,
     ILogger <MessageService> logger,
     IEmailTemplateService emailTemplateService,
     IUrlService urlService,
     PasswordlessLoginOptions passwordlessLoginOptions,
     IApplicationService applicationService
     )
 {
     _localizer                = localizer;
     _logger                   = logger;
     _emailTemplateService     = emailTemplateService;
     _urlService               = urlService;
     _passwordlessLoginOptions = passwordlessLoginOptions;
     _applicationService       = applicationService;
 }
Beispiel #5
0
 public UserOrchestrator(
     ILogger <UserOrchestrator> logger,
     IEventNotificationService eventNotificationService,
     IHttpContextAccessor httpContextAccessor,
     IUserStore userStore,
     IPasswordService passwordService,
     IOneTimeCodeService oneTimeCodeService,
     IMessageService messageService,
     PasswordlessLoginOptions passwordlessLoginOptions,
     IApplicationLocalizer localizer)
 {
     _logger = logger;
     _eventNotificationService = eventNotificationService;
     _httpContext              = httpContextAccessor.HttpContext;
     _userStore                = userStore;
     _passwordService          = passwordService;
     _oneTimeCodeService       = oneTimeCodeService;
     _messageService           = messageService;
     _passwordlessLoginOptions = passwordlessLoginOptions;
     _localizer                = localizer;
 }
Beispiel #6
0
 public DbOneTimeCodeStore(IApplicationLocalizer localizer, ILogger <DbOneTimeCodeStore> logger, PasswordlessLoginDbContext context)
 {
     _localizer = localizer;
     _logger    = logger;
     _context   = context;
 }
 public SmtpEmailService(IApplicationLocalizer localizer, ILogger <SmtpEmailService> logger, SmtpOptions smtpOptions)
 {
     _localizer   = localizer;
     _logger      = logger;
     _smtpOptions = smtpOptions;
 }
 public DbTrustedBrowserStore(IApplicationLocalizer localizer, ILogger <DbTrustedBrowserStore> logger, PasswordlessLoginDbContext context)
 {
     _localizer = localizer;
     _logger    = logger;
     _context   = context;
 }