public async Task <IActionResult> OnRegister([FromBody] OnRegisterPayload request)
        {
            await Register(request);

            return(Ok());
        }
 /// <summary>
 /// This event is called when new client has been authenticated successfully.
 /// 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 Register(OnRegisterPayload registerPayload)
 {
     return;
 }