@Override
    public void clean() {
        val now = ZonedDateTime.now(ZoneOffset.UTC);
        LOGGER.debug("Cleaning expired records with an expiration date of [{}]", now);
        val query = DELETE_QUERY.concat(" WHERE t.expirationDate >= :expirationDate");
        entityManager.createQuery(query)
            .setParameter("expirationDate", now)
            .executeUpdate();
    }
This is {@link JpaPasswordlessTokenRepository}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-passwordless-jpa/src/main/java/org/apereo/cas/impl/token/JpaPasswordlessTokenRepository.java