@Bean
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        public View oauthDeviceCodeApprovedView(
            @Qualifier(CasProtocolViewFactory.BEAN_NAME_THYMELEAF_VIEW_FACTORY)
            final CasProtocolViewFactory casProtocolViewFactory,
            final ConfigurableApplicationContext applicationContext) {
            return casProtocolViewFactory.create(applicationContext, "protocol/oauth/deviceCodeApproved");
        }
This is {@link CasOAuth20WebflowAutoConfiguration}.

@author Misagh Moayyed
@since 5.0.0
support/cas-server-support-oauth-webflow/src/main/java/org/apereo/cas/config/CasOAuth20WebflowAutoConfiguration.java