protected Event routeToRegistration(final RequestContext requestContext, final Principal principal) {
        return eventFactory.event(this, CasWebflowConstants.TRANSITION_ID_REGISTER);
    }
This is {@link OneTimeTokenAccountCheckRegistrationAction}.

@author Misagh Moayyed
@since 5.0.0
support/cas-server-support-otp-mfa-core/src/main/java/org/apereo/cas/otp/web/flow/OneTimeTokenAccountCheckRegistrationAction.java