/
githubmirror
/
curl
Обзор
Документация
Войти
/
githubmirror
/
curl
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/data/test845
51 строка
1 KB
Daniel Stenberg
tests: keep test names shorter than 70 columns
06 авг 2026, 15:31
Не верифицирован
06 авг 2026, 15:31
b571628
Код
Авторство
О чём код?
<?xml version="1.0" encoding="US-ASCII"?> <testcase> <info> <keywords> IMAP SASL SASL AUTH OAUTH2 SASL-IR RFC6749 RFC7628 </keywords> </info> # Server-side <reply> <servercmd> AUTH OAUTHBEARER CAPA SASL-IR REPLY AUTHENTICATE + %b64[{"status":"invalid_token","scope":"example_scope","openid-configuration":"https://example.com/.well-known/openid-configuration"}]b64% REPLY AQ== A002 NO Authentication failed </servercmd> </reply> # Client-side <client> <server> imap </server> <name> IMAP OAuth failure as continuation with initial response </name> <command> 'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u user --oauth2-bearer mF_9.B5f-4.1JqM </command> </client> # Verify data after the test has been "shot" <verify> # 67 - CURLE_LOGIN_DENIED <errorcode> 67 </errorcode> # The multi interface considers a broken "CONNECT" as a prematurely broken # transfer and such a connection does not get a "LOGOUT" <protocol crlf="yes"> A001 CAPABILITY A002 AUTHENTICATE OAUTHBEARER %b64[n,a=user,%01host=127.0.0.1%01port=%IMAPPORT%01auth=Bearer mF_9.B5f-4.1JqM%01%01]b64% %b64[%01]b64% </protocol> </verify> </testcase>