Options
All
  • Public
  • Public/Protected
  • All
Menu

Module typings

Type aliases

AuthorizationTokenExtractor

AuthorizationTokenExtractor: function

Extract session id from Authorization header.

param

Value of the Authorization header.

throws

{Error|Exception} When inconsistencies are detected.

returns

Extracted token.

Type declaration

    • (authorization: string | null | undefined): string
    • Parameters

      • authorization: string | null | undefined

      Returns string

ExceptionFactory

ExceptionFactory: function

Function which returns an {@link Exception} instance.

Type declaration

    • (code: string, message: string): Exception
    • Parameters

      • code: string
      • message: string

      Returns Exception