@Override
    public void delete(final String username) {
        lock.tryLock(__ -> {
            val accounts = readAccountsFromJsonRepository();
            accounts.remove(username.trim().toLowerCase(Locale.ENGLISH));
            writeAccountsToJsonRepository(accounts);
        });
    }
This is {@link JsonGoogleAuthenticatorTokenCredentialRepository}.

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