Package | Description |
---|---|
org.springframework.social.connect |
Framework for establishing connections between local users and users of ServiceProviders such as Twitter and Facebook.
|
org.springframework.social.connect.support |
ServiceProvider Connect API implementation support.
|
org.springframework.social.connect.web |
Spring MVC Controller for controlling ServiceProvider connect operations.
|
Modifier and Type | Method and Description |
---|---|
<A> ConnectionFactory<A> |
ConnectionFactoryLocator.getConnectionFactory(Class<A> apiType)
Lookup a ConnectionFactory by apiType; for example, FacebookApi.class.
|
ConnectionFactory<?> |
ConnectionFactoryLocator.getConnectionFactory(String providerId)
Lookup a ConnectionFactory by providerId; for example, "facebook".
|
Modifier and Type | Class and Description |
---|---|
class |
OAuth1ConnectionFactory<A>
Factory for creating OAuth1-based Connections.
|
class |
OAuth2ConnectionFactory<S>
Factory for creating OAuth2-based
Connection s. |
Modifier and Type | Method and Description |
---|---|
<A> ConnectionFactory<A> |
ConnectionFactoryRegistry.getConnectionFactory(Class<A> apiType) |
ConnectionFactory<?> |
ConnectionFactoryRegistry.getConnectionFactory(String providerId) |
Modifier and Type | Method and Description |
---|---|
void |
ConnectionFactoryRegistry.addConnectionFactory(ConnectionFactory<?> connectionFactory)
Add a
ConnectionFactory to this registry. |
Modifier and Type | Method and Description |
---|---|
void |
ConnectionFactoryRegistry.setConnectionFactories(List<ConnectionFactory<?>> connectionFactories)
Set the group of service provider connection factories registered in this registry.
|
Modifier and Type | Method and Description |
---|---|
String |
ConnectSupport.buildOAuthUrl(ConnectionFactory<?> connectionFactory,
org.springframework.web.context.request.NativeWebRequest request)
Builds the provider URL to redirect the user to for connection authorization.
|
String |
ConnectSupport.buildOAuthUrl(ConnectionFactory<?> connectionFactory,
org.springframework.web.context.request.NativeWebRequest request,
org.springframework.util.MultiValueMap<String,String> additionalParameters)
Builds the provider URL to redirect the user to for connection authorization.
|
void |
ConnectInterceptor.preConnect(ConnectionFactory<S> connectionFactory,
org.springframework.util.MultiValueMap<String,String> parameters,
org.springframework.web.context.request.WebRequest request)
Called during connection initiation, immediately before user authorization.
|
Copyright © 2016. All rights reserved.