@Bean
        @ConditionalOnMissingBean(name = "qrAuthenticationDeviceRepository")
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        public QRAuthenticationDeviceRepository qrAuthenticationDeviceRepository(final CasConfigurationProperties casProperties) {
            val qr = casProperties.getAuthn().getQr();
            if (qr.getJson().getLocation() != null) {
                return new JsonResourceQRAuthenticationDeviceRepository(qr.getJson().getLocation());
            }
            return QRAuthenticationDeviceRepository.permitAll();
        }
This is {@link CasQRAuthenticationAutoConfiguration}.

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