Generic type representing a guard

Hierarchy

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

  • Determine whether or not a guard is enabled

    Memberof

    GdprGuard

    Parameters

    • name: string

      The name of the guard to look for

    Returns boolean