1sasl_getsimple_t(3)             SASL man pages             sasl_getsimple_t(3)
2
3
4

NAME

6       sasl_getsimple_t - The SASL callback for username/authname/realm
7
8
9

SYNOPSIS

11       #include <sasl/sasl.h>
12
13
14       int sasl_getsimple_t(void *context,
15                           int id,
16                           const char ** result,
17                           unsigned * len);
18
19

DESCRIPTION

21       sasl_getsimple_t  is  used  to retrieve simple things from the applica‐
22       tion. In practice this is authentication name, authorization name,  and
23       realm. The id parameter indicates which value is being requested.  Pos‐
24       sible values include:
25
26       SASL_CB_USER     - Client user identity to login as
27       SASL_CB_AUTHNAME - Client authentication name
28       SASL_CB_LANGUAGE - Comma-separated list of RFC 1766 languages
29       SASL_CB_CNONCE   - Client-nonce (for testing mostly)
30
31

RETURN VALUE

33       SASL callback functions should return SASL return codes. See sasl.h for
34       a complete list. SASL_OK indicates success.
35
36

CONFORMING TO

38       RFC 4422
39

SEE ALSO

41       sasl(3), sasl_callbacks(3), sasl_errors(3)
42
43
44
45SASL                             10 July 2001              sasl_getsimple_t(3)
Impressum