Options
All
  • Public
  • Public/Protected
  • All
Menu

Module didComm/utils/whitelist

Index

Variables

default: { checkAll: (property: string, method: string, body: GenericBody) => CheckType; methodsList: string[]; propertiesList: string[]; subMethodsList: string[] }

Type declaration

  • checkAll: (property: string, method: string, body: GenericBody) => CheckType
      • Checks if the property, method or subMethod are allowed

        Parameters

        • property: string

          property of the agent

        • method: string

          method of the property

        • body: GenericBody

          arguments and subMethod name + arguments

        Returns CheckType

        -an object with the conditional message

  • methodsList: string[]
  • propertiesList: string[]
  • subMethodsList: string[]
methodsList: string[] = ...
propertiesList: string[] = ...
subMethodsList: string[] = ...

Functions

  • Checks if the property, method or subMethod are allowed

    Parameters

    • property: string

      property of the agent

    • method: string

      method of the property

    • body: GenericBody

      arguments and subMethod name + arguments

    Returns CheckType

    -an object with the conditional message

Generated using TypeDoc