Software /
code /
prosody
Diff
util/sasl/anonymous.lua @ 2992:9ce36f7eb24a
util.sasl.anonymous: Adding documentation on anonymous authentication backend.
author | Tobias Markmann <tm@ayena.de> |
---|---|
date | Sun, 28 Feb 2010 22:40:05 +0100 |
parent | 2195:8788c995fcbd |
child | 2996:b0515ed4d9d7 |
line wrap: on
line diff
--- a/util/sasl/anonymous.lua Sun Feb 28 22:32:12 2010 +0100 +++ b/util/sasl/anonymous.lua Sun Feb 28 22:40:05 2010 +0100 @@ -20,6 +20,16 @@ --========================= --SASL ANONYMOUS according to RFC 4505 + +--[[ +Supported Authentication Backends + +anonymous: + function(username, realm) + return true; --for normal usage just return true; if you don't like the supplied username you can return false. + end +]] + local function anonymous(self, message) local username; repeat