|
PostgreSQL Source Code git master
|


Go to the source code of this file.
Data Structures | |
| struct | ValidatorModuleState |
| struct | ValidatorModuleResult |
| struct | OAuthValidatorCallbacks |
Macros | |
| #define | PG_OAUTH_VALIDATOR_MAGIC 0x20250220 |
Functions | |
| void | RegisterOAuthHBAOptions (ValidatorModuleState *state, int num, const char *opts[]) |
| const char * | GetOAuthHBAOption (const ValidatorModuleState *state, const char *optname) |
| PGDLLEXPORT const OAuthValidatorCallbacks * | _PG_oauth_validator_module_init (void) |
| bool | check_oauth_validator (HbaLine *hbaline, int elevel, char **err_msg) |
| bool | valid_oauth_hba_option_name (const char *name) |
Variables | |
| PGDLLIMPORT char * | oauth_validator_libraries_string |
| PGDLLIMPORT const pg_be_sasl_mech | pg_be_oauth_mech |
| typedef const OAuthValidatorCallbacks *(* OAuthValidatorModuleInit) (void) |
| typedef void(* ValidatorShutdownCB) (ValidatorModuleState *state) |
| typedef void(* ValidatorStartupCB) (ValidatorModuleState *state) |
|
extern |
Definition at line 35 of file fail_validator.c.
References validator_callbacks, validator_callbacks, and validator_callbacks.
Definition at line 857 of file auth-oauth.c.
References ereport, errcode(), errcontext, errmsg, fb(), foreach_ptr, linitial, list_free_deep(), NIL, oauth_validator_libraries_string, pfree(), psprintf(), pstrdup(), and SplitDirectoriesString().
Referenced by parse_hba_line().
Definition at line 1090 of file auth-oauth.c.
References Assert, fb(), forboth, Port::hba, lfirst, list_length(), MyProcPort, HbaLine::oauth_opt_keys, HbaLine::oauth_opt_vals, val, and ValidatorOptionsChecked.
Referenced by validate_token(), and validator_startup().
|
extern |
Definition at line 949 of file auth-oauth.c.
References Assert, ereport, errcontext, errmsg, Port::hba, i, lappend(), MemoryContextSwitchTo(), MyProcPort, HbaLine::oauth_validator, opts, pstrdup(), valid_oauth_hba_option_name(), ValidatorMemoryContext, ValidatorOptions, and WARNING.
Referenced by validator_startup().
Definition at line 1003 of file auth-oauth.c.
Referenced by parse_hba_auth_opt(), and RegisterOAuthHBAOptions().
|
extern |
Definition at line 35 of file auth-oauth.c.
Referenced by check_oauth_validator().
|
extern |
Definition at line 54 of file auth-oauth.c.
Referenced by ClientAuthentication().