Buy commercial curl support from WolfSSL. We help you work
out your issues, debug your libcurl applications, use the API, port to new
platforms, add new features and more. With a team lead by the curl founder
himself.
Re: CURLOPT_XOAUTH2_BEARER use?
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Dan Fandrich via curl-library <curl-library_at_lists.haxx.se>
Date: Mon, 20 Feb 2023 19:26:38 -0800
On Tue, Feb 21, 2023 at 03:19:12AM +0000, Matthew Bobowski wrote:
> No cast is necessary.
>
> #define CURLAUTH_BEARER (((unsigned long)1)<<6)
Ah, good. Many of the other contants (like CURLSSH_AUTH_* and CURLFTPAUTH_*)
*do* need that cast.
Date: Mon, 20 Feb 2023 19:26:38 -0800
On Tue, Feb 21, 2023 at 03:19:12AM +0000, Matthew Bobowski wrote:
> No cast is necessary.
>
> #define CURLAUTH_BEARER (((unsigned long)1)<<6)
Ah, good. Many of the other contants (like CURLSSH_AUTH_* and CURLFTPAUTH_*)
*do* need that cast.
-- Unsubscribe: https://lists.haxx.se/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.htmlReceived on 2023-02-21