Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type Aliases

GdprManagerDecorator: ((manager: GdprManager) => GdprManager)

Type declaration

GdprManagerEventHandler: (() => void)

Type declaration

    • (): void
    • Returns void

GdprManagerFactory: (() => Promise<GdprManager>)

Type declaration

Functions

  • makeGuard(name: string, description: string, storage?: GdprStorage, required?: boolean, enabled?: null | boolean): GdprGuard
  • Factory for creating a guard

    Parameters

    • name: string

      The unique name/identifier for this guard

    • description: string

      The description of the guard

    • Optional storage: GdprStorage

      Where the data will be stored

    • Optional required: boolean

      Whether or not it is a required guard

    • Optional enabled: null | boolean

      Whether or not it is currently enabled

    Returns GdprGuard

  • Visit the GDPR structure

    Parameters

    Returns void