Exemple #1
0
 public Fido2UpgradeConnectionCommand(IFido2 fido2, ICacheItemRepository cacheItemRepository,
                                      IOwnIdCoreConfiguration configuration, IIdentitiesProvider identitiesProvider,
                                      IEncodingService encodingService, IUserHandlerAdapter userHandlerAdapter) : base(fido2, cacheItemRepository,
                                                                                                                       configuration, identitiesProvider, encodingService)
 {
     _userHandlerAdapter = userHandlerAdapter;
 }
Exemple #2
0
 public SavePartialConnectionCommand(ICacheItemRepository cacheItemRepository,
                                     IUserHandlerAdapter userHandlerAdapter, IOwnIdCoreConfiguration configuration)
 {
     _cacheItemRepository = cacheItemRepository;
     _userHandlerAdapter  = userHandlerAdapter;
     _configuration       = configuration;
 }
 public Fido2LoginCommand(IFido2 fido2, ICacheItemRepository cacheItemRepository,
                          IUserHandlerAdapter userHandlerAdapter, IOwnIdCoreConfiguration configuration)
 {
     _fido2 = fido2;
     _cacheItemRepository = cacheItemRepository;
     _userHandlerAdapter  = userHandlerAdapter;
     _configuration       = configuration;
 }
 public GetStatusCommand(IUserHandlerAdapter userHandlerAdapter, ICacheItemRepository cacheItemRepository,
                         ILocalizationService localizationService, IJwtService jwtService)
 {
     _userHandlerAdapter  = userHandlerAdapter;
     _cacheItemRepository = cacheItemRepository;
     _localizationService = localizationService;
     _jwtService          = jwtService;
 }
 public LinkAccountCommand(ICacheItemRepository cacheItemRepository, IJwtService jwtService,
                           IAccountLinkHandler linkHandler, IUserHandlerAdapter userHandlerAdapter)
 {
     _cacheItemRepository = cacheItemRepository;
     _jwtService          = jwtService;
     _linkHandler         = linkHandler;
     _userHandlerAdapter  = userHandlerAdapter;
 }
Exemple #6
0
 public GetStatusCommand(IUserHandlerAdapter userHandlerAdapter, ICacheItemRepository cacheItemRepository,
                         ILocalizationService localizationService, IJwtService jwtService, IOwnIdCoreConfiguration configuration)
 {
     _userHandlerAdapter  = userHandlerAdapter;
     _cacheItemRepository = cacheItemRepository;
     _localizationService = localizationService;
     _jwtService          = jwtService;
     _configuration       = configuration;
 }
Exemple #7
0
 public AddConnectionCommand(IAccountLinkHandler accountLinkHandler, ICacheItemRepository cacheItemRepository,
                             IUserHandlerAdapter userHandlerAdapter, IOwnIdCoreConfiguration coreConfiguration,
                             ILocalizationService localizationService)
 {
     _accountLinkHandler  = accountLinkHandler;
     _cacheItemRepository = cacheItemRepository;
     _userHandlerAdapter  = userHandlerAdapter;
     _coreConfiguration   = coreConfiguration;
     _localizationService = localizationService;
 }
 public ExchangeMagicLinkCommand(ICacheItemRepository cacheItemRepository,
                                 IUserHandlerAdapter userHandlerAdapter, IMagicLinkConfiguration magicLinkConfiguration,
                                 ILocalizationService localizationService)
 {
     _cacheItemRepository    = cacheItemRepository;
     _cacheItemRepository    = cacheItemRepository;
     _userHandlerAdapter     = userHandlerAdapter;
     _magicLinkConfiguration = magicLinkConfiguration;
     _localizationService    = localizationService;
 }
 public UpgradeToPasscodeTransitionHandler(IJwtComposer jwtComposer, StopFlowCommand stopFlowCommand,
                                           IUrlProvider urlProvider, SavePartialConnectionCommand savePartialConnectionCommand, IJwtService jwtService,
                                           ICookieService cookieService, IUserHandlerAdapter userHandlerAdapter,
                                           bool validateSecurityTokens = true) : base(jwtComposer,
                                                                                      stopFlowCommand, urlProvider, validateSecurityTokens)
 {
     _savePartialConnectionCommand = savePartialConnectionCommand;
     _jwtService         = jwtService;
     _cookieService      = cookieService;
     _userHandlerAdapter = userHandlerAdapter;
 }
Exemple #10
0
 public InstantAuthorizeBaseTransitionHandler(IJwtComposer jwtComposer, StopFlowCommand stopFlowCommand,
                                              IUrlProvider urlProvider, SavePartialConnectionCommand savePartialConnectionCommand,
                                              ICookieService cookieService, IJwtService jwtService, IUserHandlerAdapter userHandlerAdapter,
                                              IOwnIdCoreConfiguration configuration, ICacheItemRepository cacheItemRepository) : base(jwtComposer,
                                                                                                                                      stopFlowCommand, urlProvider)
 {
     _savePartialConnectionCommand = savePartialConnectionCommand;
     _cookieService       = cookieService;
     _jwtService          = jwtService;
     _userHandlerAdapter  = userHandlerAdapter;
     _configuration       = configuration;
     _cacheItemRepository = cacheItemRepository;
 }
Exemple #11
0
 public SendMagicLinkCommand(ICacheItemRepository cacheItemRepository, IUserHandlerAdapter userHandlerAdapter,
                             IIdentitiesProvider identitiesProvider, IEmailService emailService,
                             IMagicLinkConfiguration magicLinkConfiguration, IOwnIdCoreConfiguration ownIdCoreConfiguration,
                             ILocalizationService localizationService)
 {
     _cacheItemRepository    = cacheItemRepository;
     _userHandlerAdapter     = userHandlerAdapter;
     _identitiesProvider     = identitiesProvider;
     _emailService           = emailService;
     _magicLinkConfiguration = magicLinkConfiguration;
     _ownIdCoreConfiguration = ownIdCoreConfiguration;
     _localizationService    = localizationService;
     _tokenExpiration        = TimeSpan.FromMilliseconds(magicLinkConfiguration.TokenLifetime);
 }
 public SavePartialConnectionCommand(ICacheItemRepository cacheItemRepository, IUserHandlerAdapter userHandlerAdapter)
 {
     _cacheItemRepository = cacheItemRepository;
     _userHandlerAdapter  = userHandlerAdapter;
 }
Exemple #13
0
 public InternalConnectionRecoveryCommand(IUserHandlerAdapter userHandlerAdapter)
 {
     _userHandlerAdapter = userHandlerAdapter;
 }
Exemple #14
0
 public CheckUserExistenceCommand(IUserHandlerAdapter userHandlerAdapter)
 {
     _userHandlerAdapter = userHandlerAdapter;
 }