o
LiveSessionMountAspect
object LiveSessionMountAspectConstructors for session mount aspects.
Defined by scalive.LiveSessionMountAspect. View source (scalive/api/src/scalive/LiveSessionMountAspect.scala:71-87)
Methods2
fromRequest
def fromRequest[R, Claims, Ctx](disconnected: LiveSessionMountRequest => zio.ZIO[R, zio.http.Response, (Claims, Ctx)], connected: (Claims, LiveSessionMountRequest) => zio.ZIO[R, LiveMountFailure, Ctx])(using evidence$1: zio.json.JsonCodec[Claims]): LiveSessionMountAspect[R, Any, Claims, Ctx]Creates a session aspect that does not consume context from a preceding aspect.
Defined by scalive.LiveSessionMountAspect.fromRequest. View source (scalive/api/src/scalive/LiveSessionMountAspect.scala:80-87)
make
def make[R, In, Claims, Ctx](disconnected: (LiveSessionMountRequest, In) => zio.ZIO[R, zio.http.Response, (Claims, Ctx)], connected: (Claims, LiveSessionMountRequest, In) => zio.ZIO[R, LiveMountFailure, Ctx])(using evidence$1: zio.json.JsonCodec[Claims]): LiveSessionMountAspect[R, In, Claims, Ctx]Creates a session aspect that consumes context from a preceding session aspect.
Defined by scalive.LiveSessionMountAspect.make. View source (scalive/api/src/scalive/LiveSessionMountAspect.scala:73-77)