• Requests specified access level from specified account. It invokes access/authorize capability, if invocation succeeds it will return a PendingAccessRequest object that can be used to poll for the requested delegation through access/claim capability.

    Parameters

    • agent: Agent<Service>
    • input: {
          access: undefined | Access;
          account: `did:mailto:${string}`;
          audience: undefined | `did:${string}:${string}`;
          provider: undefined | `did:web:${string}`;
      }
      • access: undefined | Access

        Access been requested.

      • account: `did:mailto:${string}`

        Account from which access is requested.

      • audience: undefined | `did:${string}:${string}`

        Principal requesting an access.

      • provider: undefined | `did:web:${string}`

        Provider that will receive the invocation.

    Returns Promise<Schema.Result<PendingAccessRequest, InvocationError | AccessAuthorizeFailure>>

Generated using TypeDoc