예제 #1
0
 public UIAccountController(
     UserManager <ApplicationUser> userManager,
     RoleManager <IdentityRole> roleManager,
     SignInManager <ApplicationUser> signInManager,
     SettingsRepository settingsRepository,
     Configuration.BTCPayServerOptions options,
     BTCPayServerEnvironment btcPayServerEnvironment,
     EventAggregator eventAggregator,
     Fido2Service fido2Service,
     UserLoginCodeService userLoginCodeService,
     LnurlAuthService lnurlAuthService,
     LinkGenerator linkGenerator,
     Logs logs)
 {
     _userManager             = userManager;
     _signInManager           = signInManager;
     _RoleManager             = roleManager;
     _SettingsRepository      = settingsRepository;
     _Options                 = options;
     _btcPayServerEnvironment = btcPayServerEnvironment;
     _fido2Service            = fido2Service;
     _lnurlAuthService        = lnurlAuthService;
     _linkGenerator           = linkGenerator;
     _userLoginCodeService    = userLoginCodeService;
     _eventAggregator         = eventAggregator;
     _logger = logs.PayServer;
     Logs    = logs;
 }
 public ServerController(UserManager<ApplicationUser> userManager,
     Configuration.BTCPayServerOptions options,
     BTCPayRateProviderFactory rateProviderFactory,
     SettingsRepository settingsRepository,
     LightningConfigurationProvider lnConfigProvider,
     Services.Stores.StoreRepository storeRepository)
 {
     _Options = options;
     _UserManager = userManager;
     _SettingsRepository = settingsRepository;
     _RateProviderFactory = rateProviderFactory;
     _StoreRepository = storeRepository;
     _LnConfigProvider = lnConfigProvider;
 }
예제 #3
0
 public ServerController(UserManager <ApplicationUser> userManager,
                         Configuration.BTCPayServerOptions options,
                         RateFetcher rateProviderFactory,
                         SettingsRepository settingsRepository,
                         NBXplorerDashboard dashBoard,
                         LightningConfigurationProvider lnConfigProvider,
                         Services.Stores.StoreRepository storeRepository)
 {
     _Options             = options;
     _UserManager         = userManager;
     _SettingsRepository  = settingsRepository;
     _dashBoard           = dashBoard;
     _RateProviderFactory = rateProviderFactory;
     _StoreRepository     = storeRepository;
     _LnConfigProvider    = lnConfigProvider;
 }
예제 #4
0
 public UsersController(UserManager <ApplicationUser> userManager, BTCPayServerOptions btcPayServerOptions,
                        RoleManager <IdentityRole> roleManager, SettingsRepository settingsRepository,
                        EventAggregator eventAggregator,
                        IPasswordValidator <ApplicationUser> passwordValidator,
                        NicolasDorier.RateLimits.RateLimitService throttleService,
                        Configuration.BTCPayServerOptions options,
                        IAuthorizationService authorizationService)
 {
     _userManager          = userManager;
     _btcPayServerOptions  = btcPayServerOptions;
     _roleManager          = roleManager;
     _settingsRepository   = settingsRepository;
     _eventAggregator      = eventAggregator;
     _passwordValidator    = passwordValidator;
     _throttleService      = throttleService;
     _options              = options;
     _authorizationService = authorizationService;
 }
예제 #5
0
 public AccountController(
     UserManager <ApplicationUser> userManager,
     RoleManager <IdentityRole> roleManager,
     StoreRepository storeRepository,
     SignInManager <ApplicationUser> signInManager,
     IEmailSender emailSender,
     SettingsRepository settingsRepository,
     Configuration.BTCPayServerOptions options)
 {
     this.storeRepository = storeRepository;
     _userManager         = userManager;
     _signInManager       = signInManager;
     _emailSender         = emailSender;
     _RoleManager         = roleManager;
     _SettingsRepository  = settingsRepository;
     _Options             = options;
     _logger = Logs.PayServer;
 }
예제 #6
0
 public AccountController(
     UserManager <ApplicationUser> userManager,
     RoleManager <IdentityRole> roleManager,
     SignInManager <ApplicationUser> signInManager,
     SettingsRepository settingsRepository,
     Configuration.BTCPayServerOptions options,
     BTCPayServerEnvironment btcPayServerEnvironment,
     EventAggregator eventAggregator,
     Fido2Service fido2Service)
 {
     _userManager             = userManager;
     _signInManager           = signInManager;
     _RoleManager             = roleManager;
     _SettingsRepository      = settingsRepository;
     _Options                 = options;
     _btcPayServerEnvironment = btcPayServerEnvironment;
     _fido2Service            = fido2Service;
     _eventAggregator         = eventAggregator;
     _logger = Logs.PayServer;
 }
예제 #7
0
 public AccountController(
     UserManager <ApplicationUser> userManager,
     RoleManager <IdentityRole> roleManager,
     StoreRepository storeRepository,
     SignInManager <ApplicationUser> signInManager,
     EmailSenderFactory emailSenderFactory,
     SettingsRepository settingsRepository,
     Configuration.BTCPayServerOptions options,
     BTCPayServerEnvironment btcPayServerEnvironment,
     U2FService u2FService)
 {
     this.storeRepository     = storeRepository;
     _userManager             = userManager;
     _signInManager           = signInManager;
     _EmailSenderFactory      = emailSenderFactory;
     _RoleManager             = roleManager;
     _SettingsRepository      = settingsRepository;
     _Options                 = options;
     _btcPayServerEnvironment = btcPayServerEnvironment;
     _u2FService              = u2FService;
     _logger = Logs.PayServer;
 }
 public Socks5HttpProxyServer(Configuration.BTCPayServerOptions opts)
 {
     _opts = opts;
 }