113498266Sopenharmony_ci<testcase> 213498266Sopenharmony_ci<info> 313498266Sopenharmony_ci<keywords> 413498266Sopenharmony_ciSMTP 513498266Sopenharmony_ciSASL 613498266Sopenharmony_ciSASL AUTH OAUTH2 713498266Sopenharmony_ciSASL-IR 813498266Sopenharmony_ciRFC4954 913498266Sopenharmony_ciRFC6749 1013498266Sopenharmony_ciRFC7628 1113498266Sopenharmony_ci</keywords> 1213498266Sopenharmony_ci</info> 1313498266Sopenharmony_ci 1413498266Sopenharmony_ci# 1513498266Sopenharmony_ci# Server-side 1613498266Sopenharmony_ci<reply> 1713498266Sopenharmony_ci<servercmd> 1813498266Sopenharmony_ciAUTH OAUTHBEARER 1913498266Sopenharmony_ciREPLY AUTH 235 Authenticated 2013498266Sopenharmony_ci</servercmd> 2113498266Sopenharmony_ci</reply> 2213498266Sopenharmony_ci 2313498266Sopenharmony_ci# 2413498266Sopenharmony_ci# Client-side 2513498266Sopenharmony_ci<client> 2613498266Sopenharmony_ci<server> 2713498266Sopenharmony_cismtp 2813498266Sopenharmony_ci</server> 2913498266Sopenharmony_ci<name> 3013498266Sopenharmony_ciSMTP OAuth 2.0 (OAUTHBEARER) authentication with initial response 3113498266Sopenharmony_ci</name> 3213498266Sopenharmony_ci<stdin> 3313498266Sopenharmony_cimail body 3413498266Sopenharmony_ci</stdin> 3513498266Sopenharmony_ci<command> 3613498266Sopenharmony_cismtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -u user --oauth2-bearer mF_9.B5f-4.1JqM --sasl-ir -T - 3713498266Sopenharmony_ci</command> 3813498266Sopenharmony_ci</client> 3913498266Sopenharmony_ci 4013498266Sopenharmony_ci# 4113498266Sopenharmony_ci# Verify data after the test has been "shot" 4213498266Sopenharmony_ci<verify> 4313498266Sopenharmony_ci<protocol> 4413498266Sopenharmony_ciEHLO %TESTNUMBER 4513498266Sopenharmony_ciAUTH OAUTHBEARER %b64[n,a=user,%01host=127.0.0.1%01port=%SMTPPORT%01auth=Bearer mF_9.B5f-4.1JqM%01%01]b64% 4613498266Sopenharmony_ciMAIL FROM:<sender@example.com> 4713498266Sopenharmony_ciRCPT TO:<recipient@example.com> 4813498266Sopenharmony_ciDATA 4913498266Sopenharmony_ciQUIT 5013498266Sopenharmony_ci</protocol> 5113498266Sopenharmony_ci<upload> 5213498266Sopenharmony_cimail body 5313498266Sopenharmony_ci. 5413498266Sopenharmony_ci</upload> 5513498266Sopenharmony_ci</verify> 5613498266Sopenharmony_ci</testcase> 57