Options
All
  • Public
  • Public/Protected
  • All
Menu

Module hooks

Type aliases

Type aliases

ReadUserSessionHook

ReadUserSessionHook<Device, Location, MetaData>: function

Hook called on user session read from external storage.

param

Subject.

param

Session id.

param

Read user session operation context.

param

Session metadata that was retrieved from storage.

throws

In case some anomalies are detected between read context and session metadata, an exception should be thrown to stop read operation and mark session access as invalid.

Type parameters

Type declaration