Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CookieUserSessionMiddlewareOptions

Hierarchy

  • CookieUserSessionMiddlewareOptions

Properties

Readonly session

User session options.

Optional Readonly sessionIdExtractor

sessionIdExtractor: AuthorizationTokenExtractor

Function which extracts session id from Authorization header.
If the token could not be extracted, the extractor should throw an exception.
Defaults to extractor which expects Authorization header with value in the format: Bearer ${token}.

Readonly sessionManager

sessionManager: UserSessionManagerOptions<UserSessionDevice, HTTPRequestLocation>

Options for {@link UserSessionManager}.