#include <curl/curl.h>
Go to the source code of this file.
#define SASL_AUTH_ANY ~0U |
Definition at line 43 of file curl_sasl.h.
#define SASL_AUTH_DEFAULT (SASL_AUTH_ANY & ~SASL_MECH_EXTERNAL) |
Definition at line 44 of file curl_sasl.h.
#define SASL_AUTH_NONE 0 |
Definition at line 42 of file curl_sasl.h.
#define SASL_MECH_CRAM_MD5 (1 << 2) |
Definition at line 33 of file curl_sasl.h.
#define SASL_MECH_DIGEST_MD5 (1 << 3) |
Definition at line 34 of file curl_sasl.h.
#define sasl_mech_equal | ( | line, | |
wordlen, | |||
mech | |||
) |
(wordlen == (sizeof(mech) - 1) / sizeof(char) && \ !memcmp(line, mech, wordlen))
Definition at line 113 of file curl_sasl.h.
#define SASL_MECH_EXTERNAL (1 << 5) |
Definition at line 36 of file curl_sasl.h.
#define SASL_MECH_GSSAPI (1 << 4) |
Definition at line 35 of file curl_sasl.h.
#define SASL_MECH_LOGIN (1 << 0) |
Definition at line 31 of file curl_sasl.h.
#define SASL_MECH_NTLM (1 << 6) |
Definition at line 37 of file curl_sasl.h.
#define SASL_MECH_OAUTHBEARER (1 << 8) |
Definition at line 39 of file curl_sasl.h.
#define SASL_MECH_PLAIN (1 << 1) |
Definition at line 32 of file curl_sasl.h.
#define SASL_MECH_STRING_CRAM_MD5 "CRAM-MD5" |
Definition at line 49 of file curl_sasl.h.
#define SASL_MECH_STRING_DIGEST_MD5 "DIGEST-MD5" |
Definition at line 50 of file curl_sasl.h.
#define SASL_MECH_STRING_EXTERNAL "EXTERNAL" |
Definition at line 52 of file curl_sasl.h.
#define SASL_MECH_STRING_GSSAPI "GSSAPI" |
Definition at line 51 of file curl_sasl.h.
#define SASL_MECH_STRING_LOGIN "LOGIN" |
Definition at line 47 of file curl_sasl.h.
#define SASL_MECH_STRING_NTLM "NTLM" |
Definition at line 53 of file curl_sasl.h.
#define SASL_MECH_STRING_OAUTHBEARER "OAUTHBEARER" |
Definition at line 55 of file curl_sasl.h.
#define SASL_MECH_STRING_PLAIN "PLAIN" |
Definition at line 48 of file curl_sasl.h.
#define SASL_MECH_STRING_XOAUTH2 "XOAUTH2" |
Definition at line 54 of file curl_sasl.h.
#define SASL_MECH_XOAUTH2 (1 << 7) |
Definition at line 38 of file curl_sasl.h.
enum saslprogress |
Definition at line 79 of file curl_sasl.h.
enum saslstate |
Definition at line 58 of file curl_sasl.h.
bool Curl_sasl_can_authenticate | ( | struct SASL * | sasl, |
struct connectdata * | conn | ||
) |
Definition at line 236 of file curl_sasl.c.
void Curl_sasl_cleanup | ( | struct connectdata * | conn, |
unsigned int | authused | ||
) |
Definition at line 81 of file curl_sasl.c.
CURLcode Curl_sasl_continue | ( | struct SASL * | sasl, |
struct connectdata * | conn, | ||
int | code, | ||
saslprogress * | progress | ||
) |
Definition at line 407 of file curl_sasl.c.
unsigned int Curl_sasl_decode_mech | ( | const char * | ptr, |
size_t | maxlen, | ||
size_t * | len | ||
) |
Definition at line 117 of file curl_sasl.c.
void Curl_sasl_init | ( | struct SASL * | sasl, |
const struct SASLproto * | params | ||
) |
Definition at line 178 of file curl_sasl.c.
CURLcode Curl_sasl_parse_url_auth_option | ( | struct SASL * | sasl, |
const char * | value, | ||
size_t | len | ||
) |
Definition at line 145 of file curl_sasl.c.
CURLcode Curl_sasl_start | ( | struct SASL * | sasl, |
struct connectdata * | conn, | ||
bool | force_ir, | ||
saslprogress * | progress | ||
) |
Definition at line 254 of file curl_sasl.c.