Variable SessionProviderConst

SessionProvider: __VLS_WithTemplateSlots<DefineComponent, {
    default?(_) => any;
}>

A provider component for session management. Similar to React Context. It handles redirect automatically, so remember to insert it early enough.

It provides the following dependencies:

  • SESSION
  • SESSION_INFO
  • LOGIN
  • LOGOUT

Type declaration

  • default?:function
    • Parameters

      • _: {}

        Returns any

    Generated using TypeDoc