Added support OAuth 2.0 authentication to the HTTP, IMAP, POP3 and SMTP components and libraries.
New authentication methods were added for each of the libraries which support OAuth 2.0 OAuth 2.0 bearer tokens. For IMAP, POP3 and SMTP both the XOAUTH2 and OAUTHBEARER methods are supported.
New properties were added to the ImapClient, PopClient and SmtpClient ActiveX controls to support OAuth 2.0 authentication. The The BearerToken property specifies the access token used to authenticate the client session. The ImapClient and SmtpClient ActiveX controls also have a new AuthType property which allows you to explicitly specify which authentication method you prefer to use.
The HTTP API supports the HTTP_AUTH_BEARER authentication method and the new HttpSetBearerToken function can be used to specify the token value.
The IMAP API supports the IMAP_AUTH_XOAUTH2 and IMAP_AUTH_BEARER authentication methods. OAuth 2.0 authentication is performed by calling the ImapLogin function using one of those two authentication types.
The POP3 API supports the POP_AUTH_XOAUTH2 and POP_AUTH_BEARER authentication methods. OAuth 2.0 authentication is performed by calling the PopLogin function using one of those two authentication types.
The SMTP API supports the SMTP_AUTH_XOAUTH2 and SMTP_AUTH_BEARER authentication methods. OAuth 2.0 authentication is performed by calling the SmtpAuthenticate function using one of those two authentication types.
Updated the POP3 ActiveX control and library to support SASL LOGIN and PLAIN authentication methods.
Updated the SMTP ActiveX control and library to support SASL PLAIN authentication in addition to LOGIN.
Improved the internal socket I/O buffering used by all networking components. This will increase throughput for most data transfers, particularly over higher latency connections.