79 const char *
token,
const char *role,
88#define PG_OAUTH_VALIDATOR_MAGIC 0x20250220
108 const char *optname);
PGDLLEXPORT const OAuthValidatorCallbacks * _PG_oauth_validator_module_init(void)
bool(* ValidatorValidateCB)(const ValidatorModuleState *state, const char *token, const char *role, ValidatorModuleResult *result)
void(* ValidatorShutdownCB)(ValidatorModuleState *state)
void(* ValidatorStartupCB)(ValidatorModuleState *state)
const char * GetOAuthHBAOption(const ValidatorModuleState *state, const char *optname)
bool check_oauth_validator(HbaLine *hbaline, int elevel, char **err_msg)
bool valid_oauth_hba_option_name(const char *name)
PGDLLIMPORT char * oauth_validator_libraries_string
PGDLLIMPORT const pg_be_sasl_mech pg_be_oauth_mech
void RegisterOAuthHBAOptions(ValidatorModuleState *state, int num, const char *opts[])
static AmcheckOptions opts
ValidatorShutdownCB shutdown_cb
ValidatorValidateCB validate_cb
ValidatorStartupCB startup_cb