113498266Sopenharmony_ci<testcase> 213498266Sopenharmony_ci<info> 313498266Sopenharmony_ci<keywords> 413498266Sopenharmony_ciIMAP 513498266Sopenharmony_ciSASL 613498266Sopenharmony_ciSASL AUTH OAUTH2 713498266Sopenharmony_ciSASL-IR 813498266Sopenharmony_ciRFC6749 913498266Sopenharmony_ciRFC7628 1013498266Sopenharmony_ci</keywords> 1113498266Sopenharmony_ci</info> 1213498266Sopenharmony_ci 1313498266Sopenharmony_ci# 1413498266Sopenharmony_ci# Server-side 1513498266Sopenharmony_ci<reply> 1613498266Sopenharmony_ci<servercmd> 1713498266Sopenharmony_ciAUTH OAUTHBEARER 1813498266Sopenharmony_ciCAPA SASL-IR 1913498266Sopenharmony_ciREPLY AUTHENTICATE + eyJzdGF0dXMiOiJpbnZhbGlkX3Rva2VuIiwic2NvcGUiOiJleGFtcGxlX3Njb3BlIiwib3BlbmlkLWNvbmZpZ3VyYXRpb24iOiJodHRwczovL2V4YW1wbGUuY29tLy53ZWxsLWtub3duL29wZW5pZC1jb25maWd1cmF0aW9uIn0= 2013498266Sopenharmony_ciREPLY AQ== A002 NO Authentication failed 2113498266Sopenharmony_ci</servercmd> 2213498266Sopenharmony_ci</reply> 2313498266Sopenharmony_ci 2413498266Sopenharmony_ci# 2513498266Sopenharmony_ci# Client-side 2613498266Sopenharmony_ci<client> 2713498266Sopenharmony_ci<server> 2813498266Sopenharmony_ciimap 2913498266Sopenharmony_ci</server> 3013498266Sopenharmony_ci<name> 3113498266Sopenharmony_ciIMAP OAuth 2.0 (OAUTHBEARER) failure as continuation with initial response 3213498266Sopenharmony_ci</name> 3313498266Sopenharmony_ci<command> 3413498266Sopenharmony_ci'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u user --oauth2-bearer mF_9.B5f-4.1JqM 3513498266Sopenharmony_ci</command> 3613498266Sopenharmony_ci</client> 3713498266Sopenharmony_ci 3813498266Sopenharmony_ci# 3913498266Sopenharmony_ci# Verify data after the test has been "shot" 4013498266Sopenharmony_ci<verify> 4113498266Sopenharmony_ci# 67 - CURLE_LOGIN_DENIED 4213498266Sopenharmony_ci<errorcode> 4313498266Sopenharmony_ci67 4413498266Sopenharmony_ci</errorcode> 4513498266Sopenharmony_ci# 4613498266Sopenharmony_ci# The multi interface considers a broken "CONNECT" as a prematurely broken 4713498266Sopenharmony_ci# transfer and such a connection will not get a "LOGOUT" 4813498266Sopenharmony_ci<protocol> 4913498266Sopenharmony_ciA001 CAPABILITY 5013498266Sopenharmony_ciA002 AUTHENTICATE OAUTHBEARER %b64[n,a=user,%01host=127.0.0.1%01port=%IMAPPORT%01auth=Bearer mF_9.B5f-4.1JqM%01%01]b64% 5113498266Sopenharmony_ci%b64[%01]b64% 5213498266Sopenharmony_ci</protocol> 5313498266Sopenharmony_ci</verify> 5413498266Sopenharmony_ci</testcase> 55