S - The provider's API type.public interface SocialAuthenticationService<S>
ConnectionFactory| Modifier and Type | Interface and Description |
|---|---|
static class |
SocialAuthenticationService.ConnectionCardinality |
| Modifier and Type | Method and Description |
|---|---|
SocialAuthenticationToken |
getAuthToken(HttpServletRequest request,
HttpServletResponse response)
extract
SocialAuthenticationToken from request |
String |
getConnectionAddedRedirectUrl(HttpServletRequest request,
org.springframework.social.connect.Connection<?> connection) |
SocialAuthenticationService.ConnectionCardinality |
getConnectionCardinality() |
org.springframework.social.connect.ConnectionFactory<S> |
getConnectionFactory() |
SocialAuthenticationService.ConnectionCardinality getConnectionCardinality()
SocialAuthenticationService.ConnectionCardinality for connections to this providerorg.springframework.social.connect.ConnectionFactory<S> getConnectionFactory()
ConnectionFactory used for authenticationSocialAuthenticationToken getAuthToken(HttpServletRequest request, HttpServletResponse response) throws SocialAuthenticationRedirectException
SocialAuthenticationToken from requestrequest - current HttpServletRequestresponse - current HttpServletResponseSocialAuthenticationRedirectException - if social auth requires a redirect, e.g. OAuthString getConnectionAddedRedirectUrl(HttpServletRequest request, org.springframework.social.connect.Connection<?> connection)
request - current HttpServletRequestconnection - the connection from which to calculate the redirect URL