| Constructor and Description | 
|---|
LogoutController(LogoutHandler logoutHandler,
                ApplicationEventPublisher eventPublisher)
Deprecated.  
 | 
LogoutController(LogoutHandler logoutHandler,
                ApplicationEventPublisher eventPublisher,
                LogoutControllerConfiguration logoutControllerConfiguration)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected HttpResponse | 
handleLogout(HttpRequest<?> request,
            Authentication authentication)  | 
HttpResponse | 
index(HttpRequest<?> request,
     Authentication authentication)
POST endpoint for Logout Controller. 
 | 
HttpResponse | 
indexGet(HttpRequest<?> request,
        Authentication authentication)
GET endpoint for Logout Controller. 
 | 
@Inject public LogoutController(@Nullable LogoutHandler logoutHandler, ApplicationEventPublisher eventPublisher, LogoutControllerConfiguration logoutControllerConfiguration)
logoutHandler - A collaborator which helps to build HTTP response if user logout.eventPublisher - The application event publisherlogoutControllerConfiguration - Configuration for the Logout controller@Deprecated public LogoutController(@Nullable LogoutHandler logoutHandler, ApplicationEventPublisher eventPublisher)
logoutHandler - A collaborator which helps to build HTTP response if user logout.eventPublisher - The application event publisher@Consumes(value={"application/x-www-form-urlencoded","application/json"}) @Post public HttpResponse index(HttpRequest<?> request, Authentication authentication)
request - The HttpRequest being executedauthentication - Authentication instance for current user@Get public HttpResponse indexGet(HttpRequest<?> request, Authentication authentication)
request - The HttpRequest being executedauthentication - Authentication instance for current userprotected HttpResponse handleLogout(HttpRequest<?> request, Authentication authentication)
request - The HttpRequest being executedauthentication - Authentication instance for current user