1 /*-------------------------------------------------------------------------
4 * Definitions for network authentication routines
7 * Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group
8 * Portions Copyright (c) 1994, Regents of the University of California
10 * src/include/libpq/auth.h
12 *-------------------------------------------------------------------------
17 #include "libpq/libpq-be.h"
19 extern char *pg_krb_server_keyfile
;
20 extern bool pg_krb_caseins_users
;
21 extern char *pg_krb_realm
;
23 extern void ClientAuthentication(Port
*port
);
24 extern void sendAuthRequest(Port
*port
, AuthRequest areq
, const char *extradata
,
27 /* Hook for plugins to get control in ClientAuthentication() */
28 typedef void (*ClientAuthentication_hook_type
) (Port
*, int);
29 extern PGDLLIMPORT ClientAuthentication_hook_type ClientAuthentication_hook
;