9217dbeea4
Add XOAUTH2 authentication support for IMAP and SMTP. Although XOAUTH2 is now deprecated in favor of OAuthBearer, it is the only way to connect to Office365 since Basic Auth is now completely removed. Since XOAUTH2 is very similar to OAuthBearer and uses the same configuration parameters, this is basically a copy-paste of the existing OAuthBearer code. However, XOAUTH2 support was removed from go-sasl library, so this change reimports the code that was removed from go-sasl and offers it a new home in lib/xoauth2.go. Hopefully it shouldn't be too hard to maintain, being less than 50 SLOC. Link: https://github.com/emersion/go-sasl/commit/7bfe0ed36a21 Implements: https://todo.sr.ht/~rjarry/aerc/78 Signed-off-by: Julian Pidancet <julian.pidancet@oracle.com> Tested-by: Inwit <inwit@sindominio.net> Acked-by: Tim Culverhouse <tim@timculverhouse.com> |
||
---|---|---|
.. | ||
cache.go | ||
checkmail.go | ||
configure.go | ||
connect.go | ||
create.go | ||
fetch.go | ||
flags.go | ||
idler.go | ||
imap.go | ||
list.go | ||
movecopy.go | ||
observer.go | ||
open.go | ||
remove.go | ||
search.go | ||
seqmap.go | ||
seqmap_test.go | ||
worker.go |