示例#1
0
 public DemoController(
     CannonService cannonService,
     CannonQueue cannonQueue)
 {
     _cannonService = cannonService;
     _cannonQueue   = cannonQueue;
 }
示例#2
0
 public KahlaPushService(
     AppsContainer appsContainer,
     ChannelService channelService,
     CannonService cannonService)
 {
     _appsContainer  = appsContainer;
     _channelService = channelService;
     _cannonService  = cannonService;
 }
示例#3
0
 public KahlaPushService(
     AppsContainer appsContainer,
     CannonService cannonService,
     EventService eventService)
 {
     _appsContainer = appsContainer;
     _cannonService = cannonService;
     _eventService  = eventService;
 }
 public PasswordController(
     GatewayDbContext dbContext,
     ILoggerFactory loggerFactory,
     UserManager <GatewayUser> userManager,
     CannonService cannonService)
 {
     _dbContext     = dbContext;
     _userManager   = userManager;
     _cannonService = cannonService;
     _logger        = loggerFactory.CreateLogger <ApiController>();
 }
示例#5
0
 public DevicesController(
     KahlaDbContext dbContext,
     UserManager <KahlaUser> userManager,
     AppsContainer appsContainer,
     CannonService cannonService)
 {
     _dbContext     = dbContext;
     _userManager   = userManager;
     _appsContainer = appsContainer;
     _cannonService = cannonService;
 }
示例#6
0
 public HomeController(
     AppsContainer appsContainer,
     ChannelService channelService,
     Counter counter,
     StargateMemory memory,
     CannonService cannonService)
 {
     _appsContainer  = appsContainer;
     _channelService = channelService;
     _counter        = counter;
     _memory         = memory;
     _cannonService  = cannonService;
 }
示例#7
0
 public UserController(
     UserManager <GatewayUser> userManager,
     GatewayDbContext context,
     GrantChecker grantChecker,
     TwoFAHelper twoFAHelper,
     IEnumerable <IAuthProvider> authProviders,
     ServiceLocation serviceLocation,
     CannonService cannonService)
 {
     _userManager     = userManager;
     _dbContext       = context;
     _grantChecker    = grantChecker;
     _twoFAHelper     = twoFAHelper;
     _authProviders   = authProviders;
     _serviceLocation = serviceLocation;
     _cannonService   = cannonService;
 }
示例#8
0
 public AccountController(
     UserManager <AccountUser> userManager,
     UserService userService,
     AppsContainer appsContainer,
     IConfiguration configuration,
     DeveloperApiService developerApiService,
     AuthService <AccountUser> authService,
     IEnumerable <IAuthProvider> authProviders,
     QRCodeService qrCodeService,
     CannonService cannonService)
 {
     _userManager         = userManager;
     _userService         = userService;
     _appsContainer       = appsContainer;
     _configuration       = configuration;
     _developerApiService = developerApiService;
     _authService         = authService;
     _authProviders       = authProviders;
     _qrCodeService       = qrCodeService;
     _cannonService       = cannonService;
 }
示例#9
0
 public OAuthController(
     UserManager <GatewayUser> userManager,
     SignInManager <GatewayUser> signInManager,
     ILoggerFactory loggerFactory,
     GatewayDbContext context,
     DeveloperApiService developerApiService,
     ISessionBasedCaptcha sessionBasedCaptcha,
     UserAppAuthManager authManager,
     AuthLogger authLogger,
     IConfiguration configuration,
     CannonService cannonService)
 {
     _userManager         = userManager;
     _signInManager       = signInManager;
     _logger              = loggerFactory.CreateLogger <OAuthController>();
     _dbContext           = context;
     _apiService          = developerApiService;
     _captcha             = sessionBasedCaptcha;
     _authManager         = authManager;
     _authLogger          = authLogger;
     _cannonService       = cannonService;
     _allowRegistering    = configuration["AllowSelfRegistering"].Trim().ToLower() == true.ToString().ToLower();
     _allowPasswordSignIn = configuration["AllowPasswordSignIn"].Trim().ToLower() == true.ToString().ToLower();
 }
示例#10
0
 public DemoController(
     CannonService cannonService)
 {
     _cannonService = cannonService;
 }