Obtaining OTP code during first step of registration

Method getValidatedOtpData validates incoming OTP registration request. If needed, checkout more about Admin Validation.
app/Http/Controllers/RegisterController.php

Final validation of registration request with OTP code

Method getValidatedRegisterData validates incoming final registration request. Those data may be different from the first step of registration.
app/Http/Controllers/RegisterController.php

Registering the user

Method register registers the user.
app/Http/Controllers/RegisterController.php

Registration response