sasl_chalprompt_t − Cyrus SASL documentation
#include <sasl/prop.h>
int
sasl_chalprompt_t(void *context, int id,
const char *challenge,
const char *prompt, const char *defresult,
const char **result, unsigned *len)
int
sasl_chalprompt_t(void *context,
int id,
const char *challenge,
const char *prompt,
const char *defresult,
const char **result,
unsigned *len)
sasl_chalprompt_t is
used to prompt for input in response to a server challenge.
Parameters
• |
context â is the context from the callback record | ||
• |
id â is the callback id (either SASL_CB_ECHOPROMPT or SASL_CB_NOECHOPROMPT) | ||
• |
challenge â the serverâs challenge | ||
• |
prompt â A prompt for the user | ||
• |
defresult â Default result (may be NULL) | ||
• |
len â Length of the userâs response. | ||
Result |
The userâs response (a NUL terminated string) or SASL error code.
The userâs response (NUL terminated), or a SASL error code. See sasl_errors(3).
sasl(3), sasl_errors(3), sasl_callbacks(3)
The Cyrus Team
1993-2016, The Cyrus Team