Software /
code /
prosody
Comparison
util/sasl/digest-md5.lua @ 3120:6f1b7260925c
util.sasl.*: Adjusting authentication provider names. All '-' replaced with '_'
author | Tobias Markmann <tm@ayena.de> |
---|---|
date | Mon, 24 May 2010 18:15:16 +0200 |
parent | 3116:90a98a6b52ac |
child | 3124:21e60658767d |
comparison
equal
deleted
inserted
replaced
3117:f4e7ca2aa2f7 | 3120:6f1b7260925c |
---|---|
30 --SASL DIGEST-MD5 according to RFC 2831 | 30 --SASL DIGEST-MD5 according to RFC 2831 |
31 | 31 |
32 --[[ | 32 --[[ |
33 Supported Authentication Backends | 33 Supported Authentication Backends |
34 | 34 |
35 digest-md5: | 35 digest_md5: |
36 function(username, domain, realm, encoding) -- domain and realm are usually the same; for some broken | 36 function(username, domain, realm, encoding) -- domain and realm are usually the same; for some broken |
37 -- implementations it's not | 37 -- implementations it's not |
38 return digesthash, state; | 38 return digesthash, state; |
39 end | 39 end |
40 | 40 |
41 digest-md5-test: | 41 digest_md5_test: |
42 function(username, domain, realm, encoding, digesthash) | 42 function(username, domain, realm, encoding, digesthash) |
43 return true or false, state; | 43 return true or false, state; |
44 end | 44 end |
45 ]] | 45 ]] |
46 | 46 |