1 @deftypefn Prototype int (*Gsasl_server_callback_validate) (Gsasl_session_ctx * @var{ctx}, char * @var{authorization_id}, char * @var{authentication_id}, char * @var{password})
3 @var{ctx}: libgsasl handle.
5 @var{authorization_id}: input array with authorization identity.
7 @var{authentication_id}: input array with authentication identity.
9 @var{password}: input array with password.
11 Type of callback function the application implements. It should
12 return GSASL_OK if and only if the validation of the provided
13 credential was succesful. GSASL_AUTHENTICATION_ERROR is a good
14 failure if authentication failed, but any available return code may be