X-Git-Url: https://git.hcoop.net/hcoop/debian/courier-authlib.git/blobdiff_plain/f77892e671e1261ec26e5133f86b8a52635f3dd2..5459351437f2b7b2a08457e5397f8a8381986ffe:/auth_sasl.html diff --git a/auth_sasl.html b/auth_sasl.html index 4b56a60..ba90a50 100644 --- a/auth_sasl.html +++ b/auth_sasl.html @@ -6,7 +6,7 @@ information. -->
auth_sasl, auth_sasl_ex â SASL implementation
#include <courierauthsasl.h>
-
int rc=auth_sasl( | const char *method, |
 | const char *initialresponse, |
 | char *(*conversation_func)( const char *, void *)) , |
 | void *callback_arg, |
 | char **authtype_ret, |
 | char **authdata_ret) ; |
int rc=auth_sasl_ex( | const char *method, |
 | const char *initialresponse, |
 | const char *externalauth, |
 | char *(*conversation_func)( const char *, void *)) , |
 | void *callback_arg, |
 | char **authtype_ret, |
 | char **authdata_ret) ; |
int rc=auth_sasl( | const char *method, |
 | const char *initialresponse, |
 | char *(*conversation_func)( const char *, void *)) , |
 | void *callback_arg, |
 | char **authtype_ret, |
 | char **authdata_ret) ; |
int rc=auth_sasl_ex( | const char *method, |
 | const char *initialresponse, |
 | const char *externalauth, |
 | char *(*conversation_func)( const char *, void *)) , |
 | void *callback_arg, |
 | char **authtype_ret, |
 | char **authdata_ret) ; |
auth_sasl
is a generic SASL server implementation.
method
is the requested SASL
@@ -54,7 +54,7 @@ ignored. Otherwise, if method
is
*authdata_ret
accordingly, so that the subsequent
invocation of auth_generic
() returns authentication
information for the login ID specified by
-externalauth
.
If the SASL conversation succesfully completes,
auth_sasl
or auth_sasl_ex
initializes *authtype_ret
and
@@ -76,7 +76,7 @@ Any other return indicates an error condition.
Right now two error conditions are defined:
AUTHSASL_ABORTED
The SASL conversation was aborted by the client.
AUTHSASL_ERROR
General error (insufficient memory, or some other reason).
-Check errno
for any clues.