1 @deftypefn Prototype int (*Gsasl_server_callback_cram_md5) (Gsasl_session_ctx * @var{ctx}, char * @var{username}, char * @var{challenge}, char * @var{response})
3 @var{ctx}: libgsasl handle.
5 @var{username}: input array with username.
7 @var{challenge}: input array with CRAM-MD5 challenge.
9 @var{response}: input array with CRAM-MD5 response.
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