Return to test828 CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data |
1.1 ! misho 1: <testcase> ! 2: <info> ! 3: <keywords> ! 4: IMAP ! 5: SASL ! 6: SASL AUTH OAUTH2 ! 7: SASL-IR ! 8: RFC6749 ! 9: </keywords> ! 10: </info> ! 11: ! 12: # ! 13: # Server-side ! 14: <reply> ! 15: <servercmd> ! 16: AUTH XOAUTH2 ! 17: CAPA SASL-IR ! 18: REPLY AUTHENTICATE A002 OK AUTHENTICATE completed ! 19: </servercmd> ! 20: <data> ! 21: From: me@somewhere ! 22: To: fake@nowhere ! 23: ! 24: body ! 25: ! 26: -- ! 27: yours sincerely ! 28: </data> ! 29: </reply> ! 30: ! 31: # ! 32: # Client-side ! 33: <client> ! 34: <server> ! 35: imap ! 36: </server> ! 37: <name> ! 38: IMAP OAuth 2.0 (XOAUTH2) authentication with initial response ! 39: </name> ! 40: <command> ! 41: 'imap://%HOSTIP:%IMAPPORT/828/;MAILINDEX=1' -u user --oauth2-bearer mF_9.B5f-4.1JqM ! 42: </command> ! 43: </client> ! 44: ! 45: # ! 46: # Verify data after the test has been "shot" ! 47: <verify> ! 48: <protocol> ! 49: A001 CAPABILITY ! 50: A002 AUTHENTICATE XOAUTH2 dXNlcj11c2VyAWF1dGg9QmVhcmVyIG1GXzkuQjVmLTQuMUpxTQEB ! 51: A003 SELECT 828 ! 52: A004 FETCH 1 BODY[] ! 53: A005 LOGOUT ! 54: </protocol> ! 55: </verify> ! 56: </testcase>