@Override
    public Set<? extends MultifactorAuthenticationTrustRecord> get(final ZonedDateTime onOrAfterDate) {
        remove();
        return storage
            .values()
            .stream()
            .filter(entry -> StringUtils.isNotBlank(entry.getRecordKey()))
            .filter(entry -> entry.getRecordDate().isEqual(onOrAfterDate) || entry.getRecordDate().isAfter(onOrAfterDate))
            .sorted()
            .collect(Collectors.toCollection(LinkedHashSet::new));
    }
This is {@link JsonMultifactorAuthenticationTrustStorage}.

@author Misagh Moayyed
@since 5.2.0
support/cas-server-support-trusted-mfa-core/src/main/java/org/apereo/cas/trusted/authentication/storage/JsonMultifactorAuthenticationTrustStorage.java