org.springframework.social.connect.web
Interface SignInAdapter


public interface SignInAdapter

Adapter that bridges between a ProviderSignInController and a application-specific user sign-in service. Invoked at the end of a provider sign-in attempt to sign-in the local user account associated with the provider user account.


Method Summary
 java.lang.String signIn(java.lang.String userId, Connection<?> connection, NativeWebRequest request)
          Complete a provider sign-in attempt by signing in the local user account with the specified id.
 

Method Detail

signIn

java.lang.String signIn(java.lang.String userId,
                        Connection<?> connection,
                        NativeWebRequest request)
Complete a provider sign-in attempt by signing in the local user account with the specified id.

Parameters:
userId - the local user id
connection - the connection
request - a reference to the current web request; is a "native" web request instance providing access to the native request and response objects, such as a HttpServletRequest and HttpServletResponse, if needed
Returns:
the URL that ProviderSignInController should redirect to after sign in. May be null, indicating that ProviderSignInController should redirect to its postSignInUrl.