public void remove(final ZonedDateTime expirationDate) {
        val time = DateTimeUtils.dateOf(expirationDate).getTime();
        val queries = List.of(DynamoDbQueryBuilder.builder()
            .key(ColumnNames.EXPIRATION_DATE.getColumnName())
            .operator(ComparisonOperator.LE)
            .attributeValue(List.of(AttributeValue.builder().s(String.valueOf(time)).build()))
            .build());
        val records = DynamoDbTableUtils.getRecordsByKeys(amazonDynamoDBClient, dynamoDbProperties.getTableName(),
            queries, DynamoDbMultifactorTrustEngineFacilitator::extractAttributeValuesFrom);
        deleteMultifactorTrustRecords(records);
    }
Remove expired records.

@param expirationDate the exp date
support/cas-server-support-trusted-mfa-dynamodb/src/main/java/org/apereo/cas/trusted/authentication/storage/DynamoDbMultifactorTrustEngineFacilitator.java