@Configuration @EnableSocial @EnableConfigurationProperties(value=FacebookProperties.class) @ConditionalOnWebApplication(type=SERVLET) protected static class FacebookAutoConfiguration.FacebookConfigurerAdapter extends SocialAutoConfigurerAdapter
Modifier | Constructor and Description |
---|---|
protected |
FacebookConfigurerAdapter(FacebookProperties properties) |
Modifier and Type | Method and Description |
---|---|
protected org.springframework.social.connect.ConnectionFactory<?> |
createConnectionFactory() |
org.springframework.social.facebook.api.Facebook |
facebook(org.springframework.social.connect.ConnectionRepository repository) |
org.springframework.social.connect.web.GenericConnectionStatusView |
facebookConnectView() |
addConnectionFactories
protected FacebookConfigurerAdapter(FacebookProperties properties)
@Bean @ConditionalOnMissingBean(value=org.springframework.social.facebook.api.Facebook.class) @Scope(value="request", proxyMode=INTERFACES) public org.springframework.social.facebook.api.Facebook facebook(org.springframework.social.connect.ConnectionRepository repository)
@Bean(name={"connect/facebookConnect","connect/facebookConnected"}) @ConditionalOnProperty(prefix="spring.social", name="auto-connection-views") public org.springframework.social.connect.web.GenericConnectionStatusView facebookConnectView()
protected org.springframework.social.connect.ConnectionFactory<?> createConnectionFactory()
createConnectionFactory
in class SocialAutoConfigurerAdapter
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.