@Override
    public void delete(final long id) {
        lock.tryLock(__ -> accounts.forEach((key, value) -> value.removeIf(d -> d.getId() == id)));
    }
This is {@link InMemoryGoogleAuthenticatorTokenCredentialRepository}.

@author Misagh Moayyed
@since 5.0.0
support/cas-server-support-gauth-core/src/main/java/org/apereo/cas/gauth/credential/InMemoryGoogleAuthenticatorTokenCredentialRepository.java