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(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
extract
SocialAuthenticationToken from request |
String |
getConnectionAddedRedirectUrl(javax.servlet.http.HttpServletRequest request,
Connection<?> connection) |
SocialAuthenticationService.ConnectionCardinality |
getConnectionCardinality() |
ConnectionFactory<S> |
getConnectionFactory() |
SocialAuthenticationService.ConnectionCardinality getConnectionCardinality()
SocialAuthenticationService.ConnectionCardinality
for connections to this providerConnectionFactory<S> getConnectionFactory()
ConnectionFactory
used for authenticationSocialAuthenticationToken getAuthToken(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws SocialAuthenticationRedirectException
SocialAuthenticationToken
from requestrequest
- current HttpServletRequest
response
- current HttpServletResponse
SocialAuthenticationRedirectException
- if social auth requires a redirect, e.g. OAuthString getConnectionAddedRedirectUrl(javax.servlet.http.HttpServletRequest request, Connection<?> connection)
request
- current HttpServletRequest
connection
- the connection from which to calculate the redirect URL