@Override
    public void deleteToken(final PasswordlessAuthenticationToken token) {
        val query = DELETE_QUERY.concat(" WHERE t.username = :username AND t.id = :id");
        entityManager.createQuery(query)
            .setParameter(QUERY_PARAM_USERNAME, token.getUsername())
            .setParameter("id", token.getId())
            .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