onAuthentication

Called when an incoming connection request is received and must be authenticated.

Parameters

data

AuthenticationData containing the callback and more information about the authentication.