@Override
    public List<String> getAuthorizedDevicesFor(final String subject) {
        readFromJsonResource();
        return devices.entrySet()
            .stream()
            .filter(entry -> entry.getValue().equals(subject))
            .map(Map.Entry::getKey)
            .collect(Collectors.toList());
    }
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