1SASL_GETSIMPLE_T(3)               Cyrus SASL               SASL_GETSIMPLE_T(3)
2
3
4

NAME

6       sasl_getsimple_t - Cyrus SASL documentation
7

SYNOPSIS

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

DESCRIPTION

17       int sasl_getsimple_t(void *context,
18
19       int id,
20
21       const char ** result,
22
23       unsigned * len);
24              sasl_getsimple_t  is  used  to  retrieve  simple things from the
25              application. In practice this is authentication name, authoriza‐
26              tion name, and realm.
27
28              Parameters
29
30                     · context – SASL connection context
31
32                     · id 
33
34                       indicates  which  value  is  being requested.  Possible
35                       values include:
36
37                       · SASL_CB_USER     ‐ Client user identity to login as
38
39                       · SASL_CB_AUTHNAME ‐ Client authentication name
40
41                       · SASL_CB_LANGUAGE ‐ Comma‐separated list of  RFC  1766
42                         languages
43
44                       · SASL_CB_CNONCE   ‐ Client‐nonce (for testing mostly)
45
46
47                     · result – value of the item requested
48
49                     · len – lenth of the result
50

RETURN VALUE

52       SASL   callback  functions should return SASL return codes.  See sasl.h
53       for a complete list. SASL_OK indicates success.
54

SEE ALSO

56       RFC 4422,:saslman:sasl(3), sasl_callbacks(3), sasl_errors(3)
57

AUTHOR

59       The Cyrus Team
60
62       1993-2016, The Cyrus Team
63
64
65
66
672.1.27                         November 08, 2018           SASL_GETSIMPLE_T(3)
Impressum