@Override
    protected void doInitialize() {
        super.doInitialize();
        val accountFlow = getFlow(CasWebflowConfigurer.FLOW_ID_ACCOUNT);
        val accountView = getState(accountFlow, CasWebflowConstants.STATE_ID_MY_ACCOUNT_PROFILE_VIEW, ViewState.class);
        createTransitionForState(accountView, "deleteTrustedDevice", "deleteMultifactorTrustedDevice");
        val removeDevice = createActionState(accountFlow, "deleteMultifactorTrustedDevice",
            CasWebflowConstants.ACTION_ID_ACCOUNT_PROFILE_REMOVE_MFA_TRUSTED_DEVICE);
        createTransitionForState(removeDevice, CasWebflowConstants.TRANSITION_ID_SUCCESS, CasWebflowConstants.STATE_ID_MY_ACCOUNT_PROFILE_VIEW);
        createTransitionForState(removeDevice, CasWebflowConstants.TRANSITION_ID_ERROR, accountFlow.getStartState().getId());
    }
This is {@link MultifactorAuthenticationTrustedDeviceAccountProfileWebflowConfigurer}.

@author Misagh Moayyed
@since 7.1.0
support/cas-server-support-trusted-mfa-core/src/main/java/org/apereo/cas/trusted/web/flow/MultifactorAuthenticationTrustedDeviceAccountProfileWebflowConfigurer.java