/// <summary>
 /// This event is called when new client has been authenticated successfully using MQTT v5.
 /// For more information <see cref="https://docs.vernemq.com/plugin-development/sessionlifecycle#on_register-and-on_register_m5"/>
 /// </summary>
 /// <param name="registerPayload">on register client information</param>
 /// <returns></returns>
 protected virtual async Task RegisterM5(OnRegisterM5Payload onRegisterPayload)
 {
     return;
 }
        public async Task <IActionResult> OnRegisterM5([FromBody] OnRegisterM5Payload request)
        {
            await OnRegisterM5(request);

            return(Ok());
        }