This hook will be called by the Application Layer of the Control Layer to found if the request received is a log out request. Depending on the implementation of the this hook, the log out accepted can be a GET or a POST request.
This hook functions will be called at two occasions :
- when the URL and headers of the request were received and parse by the server (state
HTTPs_AUTH_STATE_REQ_URL
). - when the request body was received and parse (state
HTTPs_AUTH_STATE_REQ_COMPLETE
).
Prototype
Arguments
p_instance
Pointer to the instance structure (read only).
p_conn
Pointer to the connection structure (read only).
state
State of the Authentication module:
HTTPs_AUTH_STATE_REQ_URL
HTTPs_AUTH_STATE_REQ_COMPLETE
Return Values
DEF_YES
, if the request is the POST with the log out information in a form.DEF_NO
, otherwise.
Required Configuration
None.
Notes / Warnings
None.