public SearchController(ISearchService service, IHubContext <SearchHub> hub, IAzureCredentials azureCredentials) { _service = service; _hub = hub; _azureCredentials = azureCredentials; }
public SearchHub(ISearchService service, IAzureCredentials azureCredentials) { _azureCredentials = azureCredentials; _service = service.ConfigureCredentials(azureCredentials.ApiKey, azureCredentials.StorageKey, azureCredentials.MediaServicesAuth); }
public AzureAuthenticationClient(IAzureCredentials azureCredentials, HttpClient httpClient, IMemoryCache?memoryCache = null) { this.azureCredentials = azureCredentials; this.httpClient = httpClient; this.memoryCache = memoryCache; }