xref: /third_party/curl/tests/data/test870 (revision 13498266)
113498266Sopenharmony_ci<testcase>
213498266Sopenharmony_ci<info>
313498266Sopenharmony_ci<keywords>
413498266Sopenharmony_ciPOP3
513498266Sopenharmony_ciSASL
613498266Sopenharmony_ciSASL AUTH OAUTH2
713498266Sopenharmony_ciRFC1734
813498266Sopenharmony_ciRFC5034
913498266Sopenharmony_ciRFC6749
1013498266Sopenharmony_ci</keywords>
1113498266Sopenharmony_ci</info>
1213498266Sopenharmony_ci
1313498266Sopenharmony_ci#
1413498266Sopenharmony_ci# Server-side
1513498266Sopenharmony_ci<reply>
1613498266Sopenharmony_ci<servercmd>
1713498266Sopenharmony_ciAUTH XOAUTH2
1813498266Sopenharmony_ciREPLY AUTH +
1913498266Sopenharmony_ciREPLY dXNlcj11c2VyAWF1dGg9QmVhcmVyIG1GXzkuQjVmLTQuMUpxTQEB +OK Login successful
2013498266Sopenharmony_ci</servercmd>
2113498266Sopenharmony_ci<data>
2213498266Sopenharmony_ciFrom: me@somewhere
2313498266Sopenharmony_ciTo: fake@nowhere
2413498266Sopenharmony_ci
2513498266Sopenharmony_cibody
2613498266Sopenharmony_ci
2713498266Sopenharmony_ci--
2813498266Sopenharmony_ci  yours sincerely
2913498266Sopenharmony_ci</data>
3013498266Sopenharmony_ci</reply>
3113498266Sopenharmony_ci
3213498266Sopenharmony_ci#
3313498266Sopenharmony_ci# Client-side
3413498266Sopenharmony_ci<client>
3513498266Sopenharmony_ci<server>
3613498266Sopenharmony_cipop3
3713498266Sopenharmony_ci</server>
3813498266Sopenharmony_ci<name>
3913498266Sopenharmony_ciPOP3 OAuth 2.0 (XOAUTH2) authentication
4013498266Sopenharmony_ci</name>
4113498266Sopenharmony_ci<command>
4213498266Sopenharmony_cipop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user --oauth2-bearer mF_9.B5f-4.1JqM
4313498266Sopenharmony_ci</command>
4413498266Sopenharmony_ci</client>
4513498266Sopenharmony_ci
4613498266Sopenharmony_ci#
4713498266Sopenharmony_ci# Verify data after the test has been "shot"
4813498266Sopenharmony_ci<verify>
4913498266Sopenharmony_ci<protocol>
5013498266Sopenharmony_ciCAPA
5113498266Sopenharmony_ciAUTH XOAUTH2
5213498266Sopenharmony_cidXNlcj11c2VyAWF1dGg9QmVhcmVyIG1GXzkuQjVmLTQuMUpxTQEB
5313498266Sopenharmony_ciRETR %TESTNUMBER
5413498266Sopenharmony_ciQUIT
5513498266Sopenharmony_ci</protocol>
5613498266Sopenharmony_ci</verify>
5713498266Sopenharmony_ci</testcase>
58