Package org.pac4j.core.logout
Class GoogleLogoutActionBuilder
java.lang.Object
org.pac4j.core.logout.GoogleLogoutActionBuilder
- All Implemented Interfaces:
LogoutActionBuilder
Google logout action builder.
- Since:
- 2.0.0
- Author:
- Jerome Leleu
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLogoutAction(WebContext context, SessionStore sessionStore, UserProfile currentProfile, String targetUrl) Return theRedirectionActionfor logout.
-
Constructor Details
-
GoogleLogoutActionBuilder
public GoogleLogoutActionBuilder()
-
-
Method Details
-
getLogoutAction
public Optional<RedirectionAction> getLogoutAction(WebContext context, SessionStore sessionStore, UserProfile currentProfile, String targetUrl) Description copied from interface:LogoutActionBuilderReturn theRedirectionActionfor logout.- Specified by:
getLogoutActionin interfaceLogoutActionBuilder- Parameters:
context- the web contextsessionStore- the session storecurrentProfile- the current profiletargetUrl- the target URL after logout- Returns:
- the redirection (optional)
-