@Override
    public void removeRegisteredDevice(final Principal principal, final String deviceId) {
        yubiKeyAccountRegistry.delete(principal.getId(), Long.parseLong(deviceId));
    }
This is {@link YubiKeyMultifactorAuthenticatorDeviceManager}.

@author Misagh Moayyed
@since 7.1.0
support/cas-server-support-yubikey-core-mfa/src/main/java/org/apereo/cas/adaptors/yubikey/YubiKeyMultifactorAuthenticatorDeviceManager.java