An interface representing a collecion of guards

Hierarchy

Implemented by

Properties

description: string

A description of what this guard does

enabled: boolean

Whether the guard is currently enabled

name: string

Unique name of this guard

required: boolean

Whether this guard is required

storage: GdprStorage

Where this guard is stored

Methods

  • Retrieve a guard from the collection

    Memberof

    GdprGuardCollection

    Parameters

    • name: string

      being the name of the guard to retrieve

    Returns null | GdprGuard

  • 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