test874 745 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <testcase>
  2. <info>
  3. <keywords>
  4. POP3
  5. SASL
  6. SASL AUTH OAUTH2
  7. SASL-IR
  8. RFC1734
  9. RFC5034
  10. RFC6749
  11. </keywords>
  12. </info>
  13. #
  14. # Server-side
  15. <reply>
  16. <servercmd>
  17. AUTH XOAUTH2
  18. REPLY AUTH +OK Login successful
  19. </servercmd>
  20. <data>
  21. From: me@somewhere
  22. To: fake@nowhere
  23. body
  24. --
  25. yours sincerely
  26. </data>
  27. </reply>
  28. #
  29. # Client-side
  30. <client>
  31. <server>
  32. pop3
  33. </server>
  34. <name>
  35. POP3 OAuth 2.0 (XOAUTH2) authentication with initial response
  36. </name>
  37. <command>
  38. pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user --oauth2-bearer mF_9.B5f-4.1JqM --sasl-ir
  39. </command>
  40. </client>
  41. #
  42. # Verify data after the test has been "shot"
  43. <verify>
  44. <protocol>
  45. CAPA
  46. AUTH XOAUTH2 dXNlcj11c2VyAWF1dGg9QmVhcmVyIG1GXzkuQjVmLTQuMUpxTQEB
  47. RETR %TESTNUMBER
  48. QUIT
  49. </protocol>
  50. </verify>
  51. </testcase>