Grid Community Toolkit  6.2.1629922860 (tag: v6.2.20210826)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
myproxy_sasl_server.h
1 /*
2  * myproxy_sasl_server.h
3  *
4  * Internal MyProxy SASL server interface.
5  *
6  */
7 #ifndef __MYPROXY_SASL_SERVER_H
8 #define __MYPROXY_SASL_SERVER_H
9 
10 #if defined(HAVE_LIBSASL2)
11 
12 int
13 auth_sasl_negotiate_server(myproxy_socket_attrs_t *attrs,
14  myproxy_request_t *client_request);
15 
16 extern int myproxy_sasl_authenticated; /* set to 1 after success */
17 
18 extern char *myproxy_sasl_mech; /* force a SASL mechanism */
19 
20 /* for sasl_server_new(3) */
21 extern char *myproxy_sasl_serverFQDN;
22 extern char *myproxy_sasl_user_realm;
23 
24 #endif
25 
26 #endif