Package com.atlassian.bitbucket.auth
Interface HttpLogoutHandler
public interface HttpLogoutHandler
Interface that
http-auth-handler
modules can optionally implement to receive callbacks on logout.-
Method Summary
Modifier and TypeMethodDescriptionvoid
logout
(com.atlassian.bitbucket.user.ApplicationUser user, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Implementations should clean up external resources if they need to.
-
Method Details
-
logout
void logout(@Nonnull com.atlassian.bitbucket.user.ApplicationUser user, @Nonnull javax.servlet.http.HttpServletRequest request, @Nonnull javax.servlet.http.HttpServletResponse response) Implementations should clean up external resources if they need to. They can optionally write to the response or redirect the user to override the standard system behaviour.- Parameters:
user
- the user to log outrequest
- the HTTP requestresponse
- the HTTP response
-