1 | /*------------------------------------------------------------------------- |
2 | * |
3 | * auth.h |
4 | * Definitions for network authentication routines |
5 | * |
6 | * |
7 | * Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group |
8 | * Portions Copyright (c) 1994, Regents of the University of California |
9 | * |
10 | * src/include/libpq/auth.h |
11 | * |
12 | *------------------------------------------------------------------------- |
13 | */ |
14 | #ifndef AUTH_H |
15 | #define AUTH_H |
16 | |
17 | #include "libpq/libpq-be.h" |
18 | |
19 | extern char *pg_krb_server_keyfile; |
20 | extern bool pg_krb_caseins_users; |
21 | extern char *pg_krb_realm; |
22 | |
23 | extern void ClientAuthentication(Port *port); |
24 | |
25 | /* Hook for plugins to get control in ClientAuthentication() */ |
26 | typedef void (*ClientAuthentication_hook_type) (Port *, int); |
27 | extern PGDLLIMPORT ClientAuthentication_hook_type ClientAuthentication_hook; |
28 | |
29 | #endif /* AUTH_H */ |
30 | |