summaryrefslogtreecommitdiff
path: root/imap/src/c-client/auth_pla.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2020-01-26 02:34:43 -0700
committerEduardo Chappa <chappa@washington.edu>2020-01-26 02:34:43 -0700
commitc9fc05a6bfdfd50231d58fe572e524108089c98d (patch)
tree16f96a5227614d8d8473f13e39ec098e7077b1e7 /imap/src/c-client/auth_pla.c
parenta75a6e47a5c181dc3e6c039b2c06103085ef9dff (diff)
downloadalpine-c9fc05a6bfdfd50231d58fe572e524108089c98d.tar.xz
* Add support for the OAUTHBEARER authentication method in Gmail. Thanks to
Alexander Perlis for suggesting it and explaining how the method works.
Diffstat (limited to 'imap/src/c-client/auth_pla.c')
-rw-r--r--imap/src/c-client/auth_pla.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/imap/src/c-client/auth_pla.c b/imap/src/c-client/auth_pla.c
index 7888b23e..6b58948a 100644
--- a/imap/src/c-client/auth_pla.c
+++ b/imap/src/c-client/auth_pla.c
@@ -1,4 +1,5 @@
/* ========================================================================
+ * Copyright 2020 Eduardo Chappa
* Copyright 1988-2006 University of Washington
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -27,7 +28,7 @@
*/
long auth_plain_client (authchallenge_t challenger,authrespond_t responder,
- char *service,NETMBX *mb,void *stream,
+ char *service,NETMBX *mb,void *stream, unsigned long port,
unsigned long *trial,char *user);
char *auth_plain_server (authresponse_t responder,int argc,char *argv[]);
@@ -52,7 +53,7 @@ AUTHENTICATOR auth_pla = {
*/
long auth_plain_client (authchallenge_t challenger,authrespond_t responder,
- char *service,NETMBX *mb,void *stream,
+ char *service,NETMBX *mb,void *stream, unsigned long port,
unsigned long *trial,char *user)
{
char *u, *pwd = NIL;