Skip to content
  • Steve Holme's avatar
    pop3: Added basic SASL XOAUTH2 support · 18db7438
    Steve Holme authored
    Added the ability to use an XOAUTH2 bearer token [RFC6750] with POP3 for
    authentication using RFC6749 "OAuth 2.0 Authorization Framework".
    
    The bearer token is expected to be valid for the user specified in
    conn->user. If CURLOPT_XOAUTH2_BEARER is defined and the connection has
    an advertised auth mechanism of "XOAUTH2", the user and access token are
    formatted as a base64 encoded string and sent to the server as
    "AUTH XOAUTH2 <bearer token>".
    18db7438