/// <summary> /// Initializes a new instance of the <see cref="ServerController"/> class. /// </summary> /// <param name="apiClient">The API client.</param> public ServerController(Func <Uri, IComputeApiClient> apiClient) { _computeClient = apiClient(ConfigurationHelpers.GetApiUri()); }
public CaaSAuthenticationMiddleWare(OwinMiddleware next, Func <Uri, IComputeApiClient> apiClient) : base(next) { _apiClient = apiClient(ConfigurationHelpers.GetApiUri()); }