XOAUTH2

XOAUTH2

[4] OAuth2 で取得した持参人トークンを使います。

[5] SASL を利用可能な IMAP, POP, SMTP で使われています。

[1] Gmail Platform — Google Developers ( ( 版)) https://developers.google.com/gmail/oauth_overview

[2] Gmail Platform — Google Developers ( ( 版)) https://developers.google.com/gmail/xoauth2_protocol

[3] OAuth を使用して IMAP、POP、または SMTP 接続を認証する | Microsoft Docs, svpsiva, https://docs.microsoft.com/ja-jp/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth