> The code search seems to be a beta github feature: I do not have access to it and as all betas, it may still be incomplete. > > Running on my local clone, I get: > > $ find lib include -type f | xargs grep -F CURLOPT_XOAUTH2_BEARER > lib/easyoptions.c: {"XOAUTH2_BEARER", CURLOPT_XOAUTH2_BEARER, CURLOT_STRING, 0}, > lib/setopt.c: case CURLOPT_XOAUTH2_BEARER: > include/curl/typecheck-gcc.h: (option) == CURLOPT_XOAUTH2_BEARER || \ > include/curl/curl.h: CURLOPT(CURLOPT_XOAUTH2_BEARER, CURLOPTTYPE_STRINGPOINT, 220), > > > Thus if you include the regular libcurl header file, it'll get defined. > > Note that github search may have missed the definition because it's done via a macro... only a supposition, of course!
Thanks Patrick. Yep, there's no issue with it being defined: It's the usage of it I think is my problem? I'm not seeing a Authorization Bearer header getting added at all. -- Kind Regards, Gavin Henry. https://sentrypeer.org
-- Unsubscribe: https://lists.haxx.se/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html