S - The service API hosted by the intercepted service provider.public interface ProviderSignInInterceptor<S>
ProviderSignInController's flow.
It does not handle events that take place in the case where ProviderSignInController redirects to the application-defined signup process.
In that case, interceptors are not necessary and any post-signup logic can be performed using the connection carried in the ProviderSignInAttempt.| Modifier and Type | Method and Description |
|---|---|
void |
postSignIn(Connection<S> connection,
WebRequest request)
Called immediately after the sign in is complete.
|
void |
preSignIn(ConnectionFactory<S> connectionFactory,
MultiValueMap<String,String> parameters,
WebRequest request)
Called during sign in initiation, immediately before user authorization.
|
void preSignIn(ConnectionFactory<S> connectionFactory, MultiValueMap<String,String> parameters, WebRequest request)
connectionFactory - The connection factoryparameters - the parameters to be sent to the provider during authenticationrequest - The web requestvoid postSignIn(Connection<S> connection, WebRequest request)
connection - the connection that was created in the course of provider sign-inrequest - the request