예제 #1
0
 public ConfirmationEmailSender(
     GatewayLocator serviceLocation,
     AiurEmailSender emailSender)
 {
     _serviceLocation = serviceLocation;
     _emailSender     = emailSender;
 }
예제 #2
0
 public CoreApiService(
     GatewayLocator serviceLocation,
     APIProxyService http)
 {
     _serviceLocation = serviceLocation;
     _http            = http;
 }
예제 #3
0
 public CoreApiService(
     GatewayLocator serviceLocation,
     HTTPService http)
 {
     _serviceLocation = serviceLocation;
     _http            = http;
 }
예제 #4
0
 public AccountService(
     GatewayLocator serviceLocation,
     HTTPService http)
 {
     _serviceLocation = serviceLocation;
     _http            = http;
 }
예제 #5
0
 public HomeController(
     SignInManager <AiurDriveUser> signInManager,
     GatewayLocator gatewayLocator)
 {
     _signInManager  = signInManager;
     _gatewayLocator = gatewayLocator;
 }
 public ConfirmationEmailSender(
     GatewayLocator gatewayLocator,
     AiurEmailSender emailSender)
 {
     _gatewayLocator = gatewayLocator;
     _emailSender    = emailSender;
 }
예제 #7
0
 public AccountService(
     GatewayLocator serviceLocation,
     APIProxyService http)
 {
     _serviceLocation = serviceLocation;
     _http            = http;
 }
예제 #8
0
 public HomeController(
     SignInManager <WikiUser> signInManager,
     WikiDbContext context,
     GatewayLocator serviceLocation)
 {
     _signInManager   = signInManager;
     _dbContext       = context;
     _serviceLocation = serviceLocation;
 }
예제 #9
0
 public HomeController(
     SignInManager <DeveloperUser> signInManager,
     ILoggerFactory loggerFactory,
     GatewayLocator gatewayLocator)
 {
     _signInManager  = signInManager;
     _logger         = loggerFactory.CreateLogger <HomeController>();
     _gatewayLocator = gatewayLocator;
 }
예제 #10
0
 public HomeController(
     IConfiguration configuration,
     SignInManager <ColossusUser> signInManager,
     GatewayLocator gatewayLocator)
 {
     _configuration  = configuration;
     _signInManager  = signInManager;
     _gatewayLocator = gatewayLocator;
 }
예제 #11
0
 public HomeController(
     SignInManager <WWWUser> signInManager,
     ILoggerFactory loggerFactory,
     GatewayLocator serviceLocation)
 {
     _signInManager   = signInManager;
     _logger          = loggerFactory.CreateLogger <HomeController>();
     _serviceLocation = serviceLocation;
 }
예제 #12
0
 public HomeController(
     SignInManager <WrapUser> signInManager,
     GatewayLocator gatewayLocator,
     RecordsService recordsService,
     AppsContainer appsContainer)
 {
     _signInManager      = signInManager;
     _gatewayLocator     = gatewayLocator;
     _recordsService     = recordsService;
     this._appsContainer = appsContainer;
 }
예제 #13
0
 public HomeController(
     SignInManager <EEUser> signInManager,
     ILoggerFactory loggerFactory,
     EEDbContext dbContext,
     GatewayLocator serviceLocation)
 {
     _signInManager   = signInManager;
     _logger          = loggerFactory.CreateLogger <HomeController>();
     _dbContext       = dbContext;
     _serviceLocation = serviceLocation;
 }
예제 #14
0
 public GoogleService(
     HTTPService http,
     IHttpClientFactory clientFactory,
     IConfiguration configuration,
     GatewayLocator serviceLocation,
     ILogger <GoogleService> logger)
 {
     _http            = http;
     _serviceLocation = serviceLocation;
     _client          = clientFactory.CreateClient();
     _clientId        = configuration["Google:ClientId"];
     _clientSecret    = configuration["Google:ClientSecret"];
     if (string.IsNullOrWhiteSpace(_clientId) || string.IsNullOrWhiteSpace(_clientSecret))
     {
         logger.LogWarning("Did not set correct Google credential! You can only access the service property but can execute OAuth process!");
     }
 }
예제 #15
0
 public MicrosoftService(
     APIProxyService http,
     IHttpClientFactory clientFactory,
     IConfiguration configuration,
     GatewayLocator serviceLocation,
     ILogger <MicrosoftService> logger)
 {
     _http            = http;
     _serviceLocation = serviceLocation;
     _client          = clientFactory.CreateClient();
     _clientId        = configuration["Microsoft:ClientId"];
     _clientSecret    = configuration["Microsoft:ClientSecret"];
     _tenant          = string.IsNullOrWhiteSpace(configuration["Microsoft:TenantId"]) ?
                        "common" : configuration["Microsoft:TenantId"];
     if (string.IsNullOrWhiteSpace(_clientId) || string.IsNullOrWhiteSpace(_clientSecret))
     {
         logger.LogWarning("Did not set correct Microsoft credential! You can only access the service property but can execute OAuth process!");
     }
 }