A group of guards

Hierarchy

  • GdprGuardGroup

Implements

Properties

bindings: Map<string, GdprGuard> = ...

Binding from guard name to guard

description: string = ""
enabled: boolean = false
name: string
required: boolean = false
storage: GdprStorage = GdprStorage.None

Where this guard is stored

Methods

  • Determine whether or not the collection has a given guard

    Returns

    TRUE if it is in its hierarchy, FALSE otherwise

    Memberof

    GdprGuardCollection

    Parameters

    • name: string

      The name of the guard to look for

    Returns boolean

  • Determine whether or not a guard is enabled

    Memberof

    GdprGuard

    Parameters

    • name: string

      The name of the guard to look for

    Returns boolean

  • Factory for creating a groupe

    Static

    Returns

    Memberof

    GdprGuardGroup

    Parameters

    • name: string

      The name of the group

    • Optional description: string = ""

      The description of the group

    • Optional enabled: boolean = false

      Whether or not the group is enabled by default

    • Optional required: boolean = false

      Whether or not the entire group is required

    Returns GdprGuardGroup