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.
ConnectionID contains the unique session identifier for that client, and Username and Password contain the professed credentials.