curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Bearer token authentication?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 4 Mar 2018 22:48:20 +0100 (CET)

On Fri, 2 Mar 2018, John Hascall wrote:

> Has any thought been given to the possibility of something along these
> lines:
>
> curl_easy_setopt(curl, CURLOPT_HTTPAUTH, CURLAUTH_BEARER);
> curl_easy_setopt(curl, CURLOPT_BEARER_TOKEN, token);

You mean like @LEW21 made this PR?

   https://github.com/curl/curl/pull/2102

... I wouldn't mind some feedback on that proposal!

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2018-03-04