SCRAM-SHA-1 authentication mechanism support

This commit is contained in:
Dmitry Podgorny
2014-08-30 15:45:10 +03:00
parent 52dcd26b8c
commit ea719cd02a
8 changed files with 470 additions and 4 deletions

View File

@@ -26,6 +26,9 @@
char *sasl_plain(xmpp_ctx_t *ctx, const char *authid, const char *password);
char *sasl_digest_md5(xmpp_ctx_t *ctx, const char *challenge,
const char *jid, const char *password);
char *sasl_scram_sha1(xmpp_ctx_t *ctx, const char *challenge,
const char *first_bare, const char *jid,
const char *password);
/** Base64 encoding routines. Implemented according to RFC 3548 */