POP3
SASL
SASL AUTH OAUTH2
SASL-IR
RFC1734
RFC5034
RFC6749
#
# Server-side
AUTH XOAUTH2
REPLY AUTH +OK Login successful
From: me@somewhere
To: fake@nowhere
body
--
yours sincerely
#
# Client-side
pop3
POP3 OAuth 2.0 (XOAUTH2) authentication with initial response
pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user --oauth2-bearer mF_9.B5f-4.1JqM --sasl-ir
#
# Verify data after the test has been "shot"
CAPA
AUTH XOAUTH2 dXNlcj11c2VyAWF1dGg9QmVhcmVyIG1GXzkuQjVmLTQuMUpxTQEB
RETR %TESTNUMBER
QUIT