PostgreSQL Source Code git master
|
Go to the source code of this file.
Data Structures | |
struct | fe_oauth_state |
Enumerations | |
enum | fe_oauth_step { FE_OAUTH_INIT , FE_OAUTH_BEARER_SENT , FE_OAUTH_REQUESTING_TOKEN , FE_OAUTH_SERVER_ERROR } |
Functions | |
PostgresPollingStatusType | pg_fe_run_oauth_flow (PGconn *conn) |
void | pg_fe_cleanup_oauth_flow (PGconn *conn) |
void | pqClearOAuthToken (PGconn *conn) |
bool | oauth_unsafe_debugging_enabled (void) |
Variables | |
const pg_fe_sasl_mech | pg_oauth_mech |
enum fe_oauth_step |
Enumerator | |
---|---|
FE_OAUTH_INIT | |
FE_OAUTH_BEARER_SENT | |
FE_OAUTH_REQUESTING_TOKEN | |
FE_OAUTH_SERVER_ERROR |
Definition at line 22 of file fe-auth-oauth.h.
bool oauth_unsafe_debugging_enabled | ( | void | ) |
Definition at line 1158 of file fe-auth-oauth.c.
Referenced by issuer_from_well_known_uri(), and pg_fe_run_oauth_flow_impl().
void pg_fe_cleanup_oauth_flow | ( | PGconn * | conn | ) |
Definition at line 304 of file fe-auth-oauth-curl.c.
References pg_conn::altsock, conn, free_async_ctx(), PGINVALID_SOCKET, and pg_conn::sasl_state.
Referenced by setup_token_request().
PostgresPollingStatusType pg_fe_run_oauth_flow | ( | PGconn * | conn | ) |
Definition at line 2850 of file fe-auth-oauth-curl.c.
References conn, pg_fe_run_oauth_flow_impl(), pq_block_sigpipe(), and pq_reset_sigpipe().
Referenced by setup_token_request().
void pqClearOAuthToken | ( | PGconn * | conn | ) |
Definition at line 1144 of file fe-auth-oauth.c.
References conn, explicit_bzero(), free, and pg_conn::oauth_token.
Referenced by pqClosePGconn(), and PQconnectPoll().
|
extern |
Definition at line 35 of file fe-auth-oauth.c.
Referenced by pg_SASL_init(), pqConnectOptions2(), and PQconnectPoll().