php-mod/curl

Bearer Auth avec curl

cmself opened this issue · 1 comments

Hello

How to authenticate with the Bearer method ?

nadar commented

Its the Authorization header you are looking for:

$curl = new Curl();
$curl->setHeader('Authorization', 'Bearer YOURSUPERDUPERSECRETEBEARERTOKEN'));