Allows control access if the request is being made by an owner of the pod containing the resource.

Hierarchy (view full)

Constructors

Properties

logger: Logger = ...

Methods

  • Checks whether the input can be handled by this class. If it cannot handle the input, rejects with an error explaining why.

    Parameters

    Returns Promise<void>

    A promise resolving if the input can be handled, rejecting with an Error if not.

  • Finds the owners of the given pods. Return value is a record where the keys are the pods and the values are all the WebIDs that own this pod.

    Parameters

    • pods: string[]

    Returns Promise<Record<string, string[]>>

  • Finds all pods that contain the given identifiers. Return value is a record where the keys are the identifiers and the values the associated pod.

    Parameters

    Returns Promise<Record<string, string>>