Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • GdprSaviorAdapter

Implements

Index

Constructors

Properties

decorator: undefined | GdprManagerDecorator

Methods

  • check(): Promise<void>
  • Check if there is an existing manager state (should rely on GdprSavior#exists)

    override

    Returns Promise<void>

  • Decorator API: Decorate the restored/created manager and use it

    inheritdoc
    override

    Parameters

    Returns GdprManager

  • exists(shouldUpdate?: boolean): Promise<boolean>
  • Determine whether there is already an existing manager (saved state)

    override

    Parameters

    • Optional shouldUpdate: boolean

      Whether it should update its savior internals (should default to true)

    Returns Promise<boolean>

  • restore(shouldUpdate?: boolean): Promise<null | GdprManager>
  • Restore the manager (saved state)

    override

    Parameters

    • Optional shouldUpdate: boolean

      Whether it should update its savior internals (should default to true)

    Returns Promise<null | GdprManager>

  • Restore the manager or create one using the factory

    override

    Parameters

    Returns Promise<GdprManager>

  • Overwrite the saved state of the manager

    override

    Parameters

    Returns Promise<boolean>

  • Store the manager state if none is already save

    override

    Parameters

    Returns Promise<boolean>

  • updateSharedManager(manager: GdprManager): Promise<void>
  • Handle shared state updates

    override

    Parameters

    Returns Promise<void>