Software /
code /
prosody
Changeset
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 |
parents | 2991:0fa3a7c885bd |
children | 2993:06d06fdd190b |
files | util/sasl/anonymous.lua |
diffstat | 1 files changed, 10 insertions(+), 0 deletions(-) [+] |
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