@Override
    public void delete(final String uid) {
        val account = fetchSingleYubiKeyAccount(uid);
        entityManager.remove(account);
        LOGGER.debug("Deleted [{}] record(s)", account);
    }
This is {@link JpaYubiKeyAccountRegistry}.

@author Misagh Moayyed
@since 5.2.0
support/cas-server-support-yubikey-jpa/src/main/java/org/apereo/cas/adaptors/yubikey/dao/JpaYubiKeyAccountRegistry.java