• 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