public HelixServer(string?token = null, HttpClient?httpClient = null) { _token = string.IsNullOrEmpty(token) ? default : new AuthorizationToken(AuthorizationKind.PersonalAccessToken, token); _client = new DevOpsHttpClient(httpClient: httpClient); }
public DevOpsServer(string organization, AuthorizationToken authorizationToken = default, HttpClient?httpClient = null) { Organization = organization; _client = new DevOpsHttpClient(authorizationToken, httpClient); }
internal DevOpsHttpClient(AuthorizationToken authorizationToken = default, HttpClient?httpClient = null) { AuthorizationToken = authorizationToken; HttpClient = httpClient ?? new HttpClient(); }