AuthAttempt Event
Fires when a connected client makes an authentication attempt.
Syntax
func onAuthAttempt(connectionId: Int64, username: String, password: String, allow: inout Bool)
Remarks
The class fires this event whenever a client attempts to authenticate itself. Use the Allow parameter to let the client through.
Username and Password contain the professed credentials.