@Override
    public void removeAll() {
        devices.clear();
        writeToJsonResource();
    }
This is {@link JsonResourceQRAuthenticationDeviceRepository}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-qr-authentication/src/main/java/org/apereo/cas/qr/authentication/JsonResourceQRAuthenticationDeviceRepository.java