Exemplo n.º 1
0
        protected PandaDocHttpClient SetApiKey()
        {
            var settings = new PandaDocHttpClientSettings();
            var client   = new PandaDocHttpClient(settings);

            var bearerToken = new PandaDocBearerToken {
                ApiKey = "c6caae24740bb7bfffc0895f27bbf1ca7fe6bbe9"
            };

            client.SetBearerToken(bearerToken);

            return(client);
        }
Exemplo n.º 2
0
 public PandaDocHttpClient(PandaDocHttpClientSettings settings)
 {
     Settings      = settings;
     HttpClient    = new HttpClient();
     JsonFormatter = new JsonMediaTypeFormatter();
 }
Exemplo n.º 3
0
 public PandaDocHttpClient(PandaDocHttpClientSettings settings)
 {
     Settings = settings;
     HttpClient = new HttpClient();
     JsonFormatter = new JsonMediaTypeFormatter();
 }