@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    @ConditionalOnMissingBean(name = "googleAuthenticatorRestHttpRequestCredentialFactoryConfigurer")
    public RestHttpRequestCredentialFactoryConfigurer googleAuthenticatorRestHttpRequestCredentialFactoryConfigurer(
        @Qualifier("googleAuthenticatorRestHttpRequestCredentialFactory")
        final RestHttpRequestCredentialFactory googleAuthenticatorRestHttpRequestCredentialFactory) {
        return factory -> factory.registerCredentialFactory(googleAuthenticatorRestHttpRequestCredentialFactory);
    }
This is {@link GoogleAuthenticatorRestConfiguration}.

@author Misagh Moayyed
@since 5.3.0
support/cas-server-support-gauth/src/main/java/org/apereo/cas/config/GoogleAuthenticatorRestConfiguration.java