diff --git a/doc/src/sgml/oauth-validators.sgml b/doc/src/sgml/oauth-validators.sgml index 704089dd7b3..3b9dad47411 100644 --- a/doc/src/sgml/oauth-validators.sgml +++ b/doc/src/sgml/oauth-validators.sgml @@ -403,9 +403,10 @@ typedef struct ValidatorModuleResult Shutdown Callback - The shutdown_cb callback is executed when the backend - process associated with the connection exits. If the validator module has - any allocated state, this callback should free it to avoid resource leaks. + The shutdown_cb callback is executed when the server + backend has finished validating tokens for the connection. If the validator + module has any allocated state, this callback should free it to avoid + resource leaks. typedef void (*ValidatorShutdownCB) (ValidatorModuleState *state);