Asynchronous notification to enable user space code to validate SASL CRAM MD5 request received.
Inside this function, programmer should implement password lookup for the given user (auth_id) and return a copy it the clear text password.
Functions using this handler are:
|connection ||The connection where the SASL notification was received |
|auth_id ||User id to authenticate.|
- The password the given auth_id have or NULL if the request should be denied. Password returned should be the plain one. Later SASL engine will perform hashing operations over it to be compared with the hash value received from the client side. Returned value should be dynamically allocated. Later, Vortex will unref it.