typedef gchar*(* VortexSaslAuthDigestMd5)(VortexConnection *connection, const gchar *auth_id, const gchar *authorization_id, const gchar *realm)

Asynchronous notification to enable user space to validate SASL DIGEST MD5 received requests.

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 identifier to authenticate
authorization_id If set, requesting auth_id is asking to get authorized to act as this value.
realm Optional realm value where the auth_id and the authorization_id will be validated.
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.