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
(CallContext ctx, UserProfile currentProfile, String targetUrl) Return theRedirectionAction
for logout.
-
Method Details
-
getLogoutAction
Optional<RedirectionAction> getLogoutAction(CallContext ctx, UserProfile currentProfile, String targetUrl) Return theRedirectionAction
for logout.- Parameters:
ctx
- the contextcurrentProfile
- the current profiletargetUrl
- the target URL after logout- Returns:
- the redirection (optional)
-