vertx / io.vertx.reactivex.ext.web.handler / UserSessionHandler

UserSessionHandler

open class UserSessionHandler : 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. NOTE: This class has been automatically generated from the io.vertx.ext.web.handler.UserSessionHandler non RX-ified interface using Vert.x codegen.

Constructors

<init>

UserSessionHandler(delegate: UserSessionHandler)

Properties

__TYPE_ARG

static val __TYPE_ARG: TypeArg<UserSessionHandler>

Functions

create

open static fun create(authProvider: AuthProvider): UserSessionHandler

Create a new handler

equals

open fun equals(other: Any?): Boolean

getDelegate

open fun getDelegate(): UserSessionHandler

handle

open fun handle(arg0: RoutingContext): Unit

hashCode

open fun hashCode(): Int

newInstance

open static fun newInstance(arg: UserSessionHandler): UserSessionHandler

toString

open fun toString(): String