|
Spring Social | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
S - The service API hosted by the intercepted service provider.public interface ProviderSignInInterceptor<S>
Listens for service provider sign in events.
Allows for custom logic to be executed before and after sign in is performed via a specific service provider.
Note that this interceptor only handles events during 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.
| Method Summary | |
|---|---|
void |
postSignIn(Connection<S> connection,
org.springframework.web.context.request.WebRequest request)
Called immediately after the sign in is complete. |
void |
preSignIn(ConnectionFactory<S> connectionFactory,
org.springframework.util.MultiValueMap<java.lang.String,java.lang.String> parameters,
org.springframework.web.context.request.WebRequest request)
Called during sign in initiation, immediately before user authorization. |
| Method Detail |
|---|
void preSignIn(ConnectionFactory<S> connectionFactory,
org.springframework.util.MultiValueMap<java.lang.String,java.lang.String> parameters,
org.springframework.web.context.request.WebRequest request)
void postSignIn(Connection<S> connection,
org.springframework.web.context.request.WebRequest request)
|
Spring Social | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||