public GetFido2SettingsCommand(ICacheItemRepository cacheItemRepository, IUrlProvider urlProvider, IOwnIdCoreConfiguration ownIdCoreConfiguration) { _cacheItemRepository = cacheItemRepository; _urlProvider = urlProvider; _ownIdCoreConfiguration = ownIdCoreConfiguration; }
public StartFlowCommand(ICacheItemRepository cacheItemRepository, IJwtService jwtService, ICookieService cookieService) { _cacheItemRepository = cacheItemRepository; _jwtService = jwtService; _cookieService = cookieService; }
public CacheItemDataSeeder( IGuidGenerator guidGenerator, ICacheItemRepository repository) { _guidGenerator = guidGenerator; _repository = repository; }
public Fido2UpgradeConnectionCommand(IFido2 fido2, ICacheItemRepository cacheItemRepository, IOwnIdCoreConfiguration configuration, IIdentitiesProvider identitiesProvider, IEncodingService encodingService, IUserHandlerAdapter userHandlerAdapter) : base(fido2, cacheItemRepository, configuration, identitiesProvider, encodingService) { _userHandlerAdapter = userHandlerAdapter; }
public Fido2LinkCommand(IFido2 fido2, ICacheItemRepository cacheItemRepository, IOwnIdCoreConfiguration configuration, IIdentitiesProvider identitiesProvider, IEncodingService encodingService, IAccountLinkHandler linkHandler) : base(fido2, cacheItemRepository, configuration, identitiesProvider, encodingService) { _linkHandler = linkHandler; }
public SavePartialConnectionCommand(ICacheItemRepository cacheItemRepository, IUserHandlerAdapter userHandlerAdapter, IOwnIdCoreConfiguration configuration) { _cacheItemRepository = cacheItemRepository; _userHandlerAdapter = userHandlerAdapter; _configuration = configuration; }
public Fido2RecoveryCommand(IFido2 fido2, ICacheItemRepository cacheItemRepository, IOwnIdCoreConfiguration configuration, IIdentitiesProvider identitiesProvider, IEncodingService encodingService, IAccountRecoveryHandler recoveryHandler) : base(fido2, cacheItemRepository, configuration, identitiesProvider, encodingService) { _recoveryHandler = recoveryHandler; }
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; }
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, IOwnIdCoreConfiguration configuration) { _userHandlerAdapter = userHandlerAdapter; _cacheItemRepository = cacheItemRepository; _localizationService = localizationService; _jwtService = jwtService; _configuration = configuration; }
public SaveRecoveredAccountConnectionCommand(ICacheItemRepository cacheItemRepository, IJwtService jwtService, IAccountRecoveryHandler recoveryHandler, IOwnIdCoreConfiguration coreConfiguration) { _cacheItemRepository = cacheItemRepository; _jwtService = jwtService; _recoveryHandler = recoveryHandler; _coreConfiguration = coreConfiguration; }
public TrySwitchToFido2FlowCommand(IOwnIdCoreConfiguration coreConfiguration, ICacheItemRepository cacheItemRepository, IUrlProvider urlProvider, ILogger <TrySwitchToFido2FlowCommand> logger, IEventsMetricsService eventsMetricsService = null) { _coreConfiguration = coreConfiguration; _cacheItemRepository = cacheItemRepository; _urlProvider = urlProvider; _logger = logger; _eventsMetricsService = eventsMetricsService; }
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 Fido2RegisterCommand(IFido2 fido2, ICacheItemRepository cacheItemRepository, IOwnIdCoreConfiguration configuration, IIdentitiesProvider identitiesProvider, IEncodingService encodingService) { _fido2 = fido2; CacheItemRepository = cacheItemRepository; _configuration = configuration; _identitiesProvider = identitiesProvider; _encodingService = encodingService; }
public CreateFlowCommand(ICacheItemRepository cacheItemRepository, IUrlProvider urlProvider, IIdentitiesProvider identitiesProvider, IOwnIdCoreConfiguration configuration, IAccountLinkHandler linkHandler = null, IMagicLinkConfiguration magicLinkConfiguration = null) { _cacheItemRepository = cacheItemRepository; _urlProvider = urlProvider; _identitiesProvider = identitiesProvider; _configuration = configuration; _linkHandler = linkHandler; _magicLinkEnabled = magicLinkConfiguration?.RedirectUrl != null; }
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; }
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 FlowRunner(ICacheItemRepository cacheItemRepository, IServiceProvider serviceProvider, IOwnIdCoreConfiguration coreConfiguration) { _cacheItemRepository = cacheItemRepository; _serviceProvider = serviceProvider; Flows = new Dictionary <FlowType, BaseFlow>(); // TODO: check features for flows AddFlow <PartialAuthorizeFlow>(); AddFlow <LinkFlow>(); AddFlow <LinkWithPinFlow>(); AddFlow <RecoveryFlow>(); AddFlow <RecoveryWithPinFlow>(); if (coreConfiguration.Fido2.IsEnabled) { AddFlow <Fido2RegisterFlow>(); AddFlow <Fido2LoginFlow>(); AddFlow <Fido2LinkFlow>(); AddFlow <Fido2RecoveryFlow>(); AddFlow <Fido2LinkFlow>(FlowType.Fido2LinkWithPin); AddFlow <Fido2RecoveryFlow>(FlowType.Fido2RecoverWithPin); } }
public VerifyFido2CredentialIdCommand(ICacheItemRepository cacheItemRepository, CheckUserExistenceCommand checkUserExistenceCommand) { _cacheItemRepository = cacheItemRepository; _checkUserExistenceCommand = checkUserExistenceCommand; }
public SetNewEncryptionTokenCommand(IOwnIdCoreConfiguration coreConfiguration, ICacheItemRepository cacheItemRepository) { _coreConfiguration = coreConfiguration; _cacheItemRepository = cacheItemRepository; }
public RecoverAccountCommand(ICacheItemRepository cacheItemRepository, IAccountRecoveryHandler accountRecoveryHandler = null) { _cacheItemRepository = cacheItemRepository; _accountRecoveryHandler = accountRecoveryHandler; }
public CacheItemAppService( ICacheItemManager cacheItemManager, ICacheItemRepository repository) : base(repository) { _cacheItemManager = cacheItemManager; }
public ApproveActionCommand(ICacheItemRepository cacheItemRepository) { _cacheItemRepository = cacheItemRepository; }
public SavePartialConnectionCommand(ICacheItemRepository cacheItemRepository, IUserHandlerAdapter userHandlerAdapter) { _cacheItemRepository = cacheItemRepository; _userHandlerAdapter = userHandlerAdapter; }
public StopFlowCommand(ICacheItemRepository cacheItemRepository) { _cacheItemRepository = cacheItemRepository; }
public SetPinCommand(ICacheItemRepository cacheItemRepository) { _cacheItemRepository = cacheItemRepository; }