Package org.pac4j.core.logout
Interface LogoutActionBuilder
- All Known Implementing Classes:
CasLogoutActionBuilder,GoogleLogoutActionBuilder,NoLogoutActionBuilder
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
The
RedirectionAction for logout.- Since:
- 2.0.0
- Author:
- Jerome Leleu
-
Method Summary
Modifier and TypeMethodDescriptiongetLogoutAction(WebContext context, SessionStore sessionStore, UserProfile currentProfile, String targetUrl) Return theRedirectionActionfor logout.
-
Method Details
-
getLogoutAction
Optional<RedirectionAction> getLogoutAction(WebContext context, SessionStore sessionStore, UserProfile currentProfile, String targetUrl) Return theRedirectionActionfor logout.- Parameters:
context- the web contextsessionStore- the session storecurrentProfile- the current profiletargetUrl- the target URL after logout- Returns:
- the redirection (optional)
-