/// <summary> /// Adds the credentials to be used to Authenticate with the API. /// </summary> /// <param name="credentials"> /// <see cref="ICredentials"/> /// </param> /// <seealso cref="BasicHttpCredentials"/> /// <seealso cref="OAuth2Credentials"/> public void AddCredentials(ICredentials credentials) => RestClientWrapper.AddAuthenticator(credentials);
public Client(RestClientWrapper restClientWrapper) { RestClientWrapper = restClientWrapper; InitializeRestClient(); InitializeServices(); }