@Override
    public boolean isAuthorizedDeviceFor(final String deviceId, final String subject) {
        readFromJsonResource();
        return devices.containsKey(deviceId) && devices.get(deviceId).equals(subject);
    }
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