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.
@FunctionalInterface public interface LogoutActionBuilder
TheRedirectionAction
for logout.- Since:
- 2.0.0
- Author:
- Jerome Leleu
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<RedirectionAction>
getLogoutAction(WebContext context, SessionStore sessionStore, UserProfile currentProfile, java.lang.String targetUrl)
Return theRedirectionAction
for logout.
-
-
-
Method Detail
-
getLogoutAction
java.util.Optional<RedirectionAction> getLogoutAction(WebContext context, SessionStore sessionStore, UserProfile currentProfile, java.lang.String targetUrl)
Return theRedirectionAction
for logout.- Parameters:
context
- the web contextsessionStore
- the session storecurrentProfile
- the current profiletargetUrl
- the target URL after logout- Returns:
- the redirection (optional)
-
-