AuthAttempt Event
Fires when a connected client makes an authentication attempt.
Syntax
webdavserver.on('AuthAttempt', [callback])
Callback
The 'callback' is called when the 'AuthAttempt' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.connectionID e.username e.password e.allow
Remarks
class fires this event whenever a client attempts to authenticate itself. Use the Allow parameter to let the client through.
ConnectionID contains the unique session identifier for that client, and Username and Password contain the professed credentials.