Interface SignInAdapter
-
public interface SignInAdapterAdapter that bridges between aProviderSignInControllerand 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.- Author:
- Craig Walls
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringsignIn(String userId, Connection<?> connection, org.springframework.web.context.request.NativeWebRequest request)Complete a provider sign-in attempt by signing in the local user account with the specified id.
-
-
-
Method Detail
-
signIn
String signIn(String userId, Connection<?> connection, org.springframework.web.context.request.NativeWebRequest request)
Complete a provider sign-in attempt by signing in the local user account with the specified id.- Parameters:
userId- the local user idconnection- the connectionrequest- 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.
-
-