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 | |
void | pqClearOAuthToken (PGconn *conn) |
bool | oauth_unsafe_debugging_enabled (void) |
bool | use_builtin_flow (PGconn *conn, fe_oauth_state *state) |
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 149 of file oauth-utils.c.
Referenced by issuer_from_well_known_uri(), and pg_fe_run_oauth_flow_impl().
void pqClearOAuthToken | ( | PGconn * | conn | ) |
Definition at line 1353 of file fe-auth-oauth.c.
References conn, explicit_bzero(), free, and pg_conn::oauth_token.
Referenced by pqClosePGconn(), and PQconnectPoll().
bool use_builtin_flow | ( | PGconn * | conn, |
fe_oauth_state * | state | ||
) |
Definition at line 749 of file fe-auth-oauth.c.
Referenced by setup_token_request().
|
extern |
Definition at line 40 of file fe-auth-oauth.c.
Referenced by pg_SASL_init(), pqConnectOptions2(), and PQconnectPoll().