| 1 |
/*------------------------------------------------------------------------- |
| 2 |
* |
| 3 |
* oauth-curl.h |
| 4 |
* |
| 5 |
* Definitions for OAuth Device Authorization module |
| 6 |
* |
| 7 |
* Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group |
| 8 |
* Portions Copyright (c) 1994, Regents of the University of California |
| 9 |
* |
| 10 |
* src/interfaces/libpq-oauth/oauth-curl.h |
| 11 |
* |
| 12 |
*------------------------------------------------------------------------- |
| 13 |
*/ |
| 14 |
|
| 15 |
#ifndef OAUTH_CURL_H |
| 16 |
#define OAUTH_CURL_H |
| 17 |
|
| 18 |
#include "libpq-fe.h" |
| 19 |
|
| 20 |
/* Exported async-auth callbacks. */ |
| 21 |
extern PGDLLEXPORT PostgresPollingStatusType pg_fe_run_oauth_flow(PGconn *conn); |
| 22 |
extern PGDLLEXPORT void pg_fe_cleanup_oauth_flow(PGconn *conn); |
| 23 |
|
| 24 |
#endif /* OAUTH_CURL_H */ |