Represents a pending access request. It can be used to poll for the requested delegation.

Hierarchy

  • PendingAccessRequest

Constructors

Properties

Accessors

Methods

Constructors

Properties

Accessors

Methods

  • Continuously polls delegations until this request is approved or expired. Returns a GrantedAccess object (view over the delegations) that can be used in the invocations or can be saved in the agent (store) using .save() method.

    Parameters

    • options: {
          interval: undefined | number;
          signal: undefined | AbortSignal;
      } = {}
      • interval: undefined | number
      • signal: undefined | AbortSignal

    Returns Promise<Schema.Result<Access.GrantedAccess, Error>>

Generated using TypeDoc