public interface SocialAuthenticationServiceLocator extends ConnectionFactoryLocator
Modifier and Type | Method and Description |
---|---|
SocialAuthenticationService<?> |
getAuthenticationService(String providerId)
Lookup a
SocialAuthenticationService by providerId; for example, "facebook". |
Set<String> |
registeredAuthenticationProviderIds()
Returns the set of providerIds for which a
SocialAuthenticationService is registered; for example, {"twitter", "facebook", "foursquare" } . |
getConnectionFactory, getConnectionFactory, registeredProviderIds
SocialAuthenticationService<?> getAuthenticationService(String providerId)
SocialAuthenticationService
by providerId; for example, "facebook".providerId
- the provider ID used to find an authentication serviceSet<String> registeredAuthenticationProviderIds()
SocialAuthenticationService
is registered; for example, {"twitter", "facebook", "foursquare" }
.
Elements in this set can be passed to getAuthenticationService(String)
to fetch a specific authentication service.