Package org.pac4j.vertx.handler.impl
Class LogoutHandler
- java.lang.Object
-
- org.pac4j.vertx.handler.impl.LogoutHandler
-
- All Implemented Interfaces:
io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>
public class LogoutHandler extends java.lang.Object implements io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>
Implementation of a handler for handling pac4j user logout- Since:
- 2.0.0
- Author:
- Jeremy Prime
-
-
Field Summary
Fields Modifier and Type Field Description protected org.pac4j.core.config.Config
config
protected java.lang.String
defaultUrl
protected java.lang.String
logoutUrlPattern
-
Constructor Summary
Constructors Constructor Description LogoutHandler(io.vertx.core.Vertx vertx, org.pac4j.core.context.session.SessionStore<VertxWebContext> sessionStore, LogoutHandlerOptions options, org.pac4j.core.config.Config config)
Construct based on the option values provided
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handle(io.vertx.ext.web.RoutingContext routingContext)
-
-
-
Constructor Detail
-
LogoutHandler
public LogoutHandler(io.vertx.core.Vertx vertx, org.pac4j.core.context.session.SessionStore<VertxWebContext> sessionStore, LogoutHandlerOptions options, org.pac4j.core.config.Config config)
Construct based on the option values provided- Parameters:
vertx
- the vertx APIsessionStore
- the session storeoptions
- - the options to configure this handlerconfig
- the pac4j configuration
-
-