Name
easy:SetOpt_XOAuth2_Bearer -- specify OAuth 2.0 access token
Synopsis
easy:SetOpt_XOAuth2_Bearer(token)
Function
Pass a string as parameter containing the OAuth 2.0 Bearer Access Token for use with HTTP, IMAP, POP3 and SMTP servers that support the OAuth 2.0 Authorization Framework.

Note: For IMAP, POP3 and SMTP, the user name used to generate the Bearer Token should be supplied via the #CURLOPT_USERNAME option.

Inputs
token
input value

Show TOC