1 /*************************************************
2 * Exim - an Internet mail transport agent *
3 *************************************************/
5 /* Copyright (c) University of Cambridge 1995 - 2012 */
6 /* Copyright (c) The Exim Maintainers 2019 */
7 /* See the file NOTICE for conditions of use and distribution. */
9 /* Copyright (c) Twitter Inc 2012 */
11 /* Interface to GNU SASL library for generic authentication. */
13 /* Authenticator-specific options. */
16 uschar *server_service;
17 uschar *server_hostname;
20 uschar *server_password;
21 uschar *server_scram_iter;
22 uschar *server_scram_salt;
24 uschar *client_username;
25 uschar *client_password;
28 BOOL server_channelbinding;
29 BOOL client_channelbinding;
30 } auth_gsasl_options_block;
32 /* Data for reading the authenticator-specific options. */
34 extern optionlist auth_gsasl_options[];
35 extern int auth_gsasl_options_count;
37 /* Defaults for the authenticator-specific options. */
39 extern auth_gsasl_options_block auth_gsasl_option_defaults;
41 /* The entry points for the mechanism */
43 extern void auth_gsasl_init(auth_instance *);
44 extern int auth_gsasl_server(auth_instance *, uschar *);
45 extern int auth_gsasl_client(auth_instance *, void *,
47 extern void auth_gsasl_version_report(FILE *f);
48 extern void auth_gsasl_macros(void);
50 /* End of gsasl_exim.h */