Interface SocialAuthenticationServiceLocator
-
- All Superinterfaces:
ConnectionFactoryLocator
- All Known Implementing Classes:
SocialAuthenticationServiceRegistry
public interface SocialAuthenticationServiceLocator extends ConnectionFactoryLocator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SocialAuthenticationService<?>getAuthenticationService(String providerId)Lookup aSocialAuthenticationServiceby providerId; for example, "facebook".Set<String>registeredAuthenticationProviderIds()Returns the set of providerIds for which aSocialAuthenticationServiceis registered; for example,{"twitter", "facebook", "foursquare" }.-
Methods inherited from interface org.springframework.social.connect.ConnectionFactoryLocator
getConnectionFactory, getConnectionFactory, registeredProviderIds
-
-
-
-
Method Detail
-
getAuthenticationService
SocialAuthenticationService<?> getAuthenticationService(String providerId)
Lookup aSocialAuthenticationServiceby providerId; for example, "facebook".- Parameters:
providerId- Provider Id- Returns:
- SocialAuthenticationService
-
registeredAuthenticationProviderIds
Set<String> registeredAuthenticationProviderIds()
Returns the set of providerIds for which aSocialAuthenticationServiceis registered; for example,{"twitter", "facebook", "foursquare" }. Elements in this set can be passed togetAuthenticationService(String)to fetch a specific authentication service.- Returns:
- Lista
-
-