示例#1
0
 public RecordsService(
     APIProxyService http,
     WrapgateLocator serviceLocation)
 {
     _http            = http;
     _serviceLocation = serviceLocation;
 }
示例#2
0
 public CoreApiService(
     GatewayLocator serviceLocation,
     APIProxyService http)
 {
     _serviceLocation = serviceLocation;
     _http            = http;
 }
示例#3
0
 public FoldersService(
     APIProxyService http,
     ProbeLocator serviceLocation)
 {
     _http            = http;
     _serviceLocation = serviceLocation;
 }
示例#4
0
 public TokenService(
     APIProxyService http,
     ProbeLocator serviceLocation)
 {
     _http            = http;
     _serviceLocation = serviceLocation;
 }
 public PushMessageService(
     APIProxyService httpService,
     StargateLocator serviceLocation)
 {
     _httpService     = httpService;
     _stargateLocator = serviceLocation;
 }
示例#6
0
 public AccountService(
     GatewayLocator serviceLocation,
     APIProxyService http)
 {
     _serviceLocation = serviceLocation;
     _http            = http;
 }
示例#7
0
 public ArchonApiService(
     ArchonLocator serviceLocation,
     APIProxyService http)
 {
     _archonLocator = serviceLocation;
     _http          = http;
 }
示例#8
0
 public ChannelService(
     StargateLocator serviceLocation,
     APIProxyService http)
 {
     _stargateLocator = serviceLocation;
     _http            = http;
 }
示例#9
0
 public EventService(
     APIProxyService http,
     ObserverLocator observerLocator)
 {
     _http            = http;
     _observerLocator = observerLocator;
 }
示例#10
0
 public SitesService(
     APIProxyService http,
     ProbeLocator serviceLocation)
 {
     _http         = http;
     _probeLocator = serviceLocation;
 }
 public DeveloperApiService(
     DeveloperLocator serviceLocation,
     APIProxyService http,
     AiurCache cache)
 {
     _serviceLocation = serviceLocation;
     _http            = http;
     _cache           = cache;
 }
示例#12
0
 public FaceBookService(
     APIProxyService http,
     IHttpClientFactory clientFactory,
     IConfiguration configuration,
     GatewayLocator serviceLocation,
     ILogger <FaceBookService> logger)
 {
     _http            = http;
     _serviceLocation = serviceLocation;
     _client          = clientFactory.CreateClient();
     _clientId        = configuration["FaceBook:ClientId"];
     _clientSecret    = configuration["FaceBook:ClientSecret"];
     if (string.IsNullOrWhiteSpace(_clientId) || string.IsNullOrWhiteSpace(_clientSecret))
     {
         logger.LogWarning("Did not set correct FaceBook credential! You can only access the service property but can execute OAuth process!");
     }
 }
 public MockDeveloperApiService(
     DeveloperLocator serviceLocation,
     APIProxyService http,
     AiurCache cache) : base(serviceLocation, http, cache)
 {
 }