1996-07-09 08:22:35 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
1999-02-14 00:22:53 +01:00
|
|
|
* auth.h
|
1996-07-09 08:22:35 +02:00
|
|
|
* Definitions for network authentication routines
|
|
|
|
*
|
|
|
|
*
|
2022-01-08 01:04:57 +01:00
|
|
|
* Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group
|
2000-01-26 06:58:53 +01:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
2010-09-20 22:08:53 +02:00
|
|
|
* src/include/libpq/auth.h
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
#ifndef AUTH_H
|
|
|
|
#define AUTH_H
|
|
|
|
|
1998-01-26 02:42:53 +01:00
|
|
|
#include "libpq/libpq-be.h"
|
1996-07-09 08:22:35 +02:00
|
|
|
|
2022-04-08 14:16:38 +02:00
|
|
|
extern PGDLLIMPORT char *pg_krb_server_keyfile;
|
|
|
|
extern PGDLLIMPORT bool pg_krb_caseins_users;
|
|
|
|
extern PGDLLIMPORT char *pg_krb_realm;
|
2001-10-28 07:26:15 +01:00
|
|
|
|
2005-10-17 18:24:20 +02:00
|
|
|
extern void ClientAuthentication(Port *port);
|
2021-07-07 03:55:15 +02:00
|
|
|
extern void sendAuthRequest(Port *port, AuthRequest areq, const char *extradata,
|
|
|
|
int extralen);
|
2005-10-17 18:24:20 +02:00
|
|
|
|
2010-10-27 03:20:02 +02:00
|
|
|
/* Hook for plugins to get control in ClientAuthentication() */
|
|
|
|
typedef void (*ClientAuthentication_hook_type) (Port *, int);
|
|
|
|
extern PGDLLIMPORT ClientAuthentication_hook_type ClientAuthentication_hook;
|
|
|
|
|
1996-07-09 08:22:35 +02:00
|
|
|
#endif /* AUTH_H */
|