io.vertx.ext.web.handler

## Interface UserSessionHandler

- All Superinterfaces:
    Handler<RoutingContext>

      public interface UserSessionHandler
      extends Handler<RoutingContext>

  This handler should be used if you want to store the User object in the Session so it's available between different requests, without you having re-authenticate each time. It requires that the session handler is already present on previous matching routes. It requires an Auth provider so, if the user is deserialized from a clustered session it knows which Auth provider to associate the session with.
  Author:
    Tim Fox

- - ### Method Summary

    All Methods Static Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `static UserSessionHandler` | `create(AuthProvider authProvider)` Create a new handler

    - ### Methods inherited from interface io.vertx.core.Handler

      `handle`

- - ### Method Detail

    - #### create

          static UserSessionHandler create(AuthProvider authProvider)

      Create a new handler
      Parameters:
        `authProvider` - The auth provider to use
      Returns:
        the handler

Copyright © 2015. All Rights Reserved.