Class SessionManager

Description

Support legacy, and modern session

Hierarchy

  • SessionManager

Constructors

Properties

Accessors

Methods

Constructors

Properties

#auth: AuthenticationState
client: Client
path: string

Session Path

save: (() => void | Promise<void>)

Type declaration

    • (): void | Promise<void>
    • Save current state.

      Returns

      Returns void | Promise<void>

type: SessionType = 'folder'

Session store type

Accessors

Methods

  • Use external authentication state.

    Returns

    Parameters

    • auth: AuthenticationState

      Authentication state data.

    Returns boolean

Generated using TypeDoc