Class OutboxGetHandler<Authorization>

ActivityPub handler for GET outbox. It should return info about the outbox, e.g. how many items it contains and maybe a preview of them.

Type Parameters

  • Authorization = unknown

Hierarchy

  • OutboxGetHandler

Implements

Constructors

Methods

  • handle(_request: { authorization: Authorization }): Promise<Outbox | NotAuthorizedError>
  • Parameters

    • _request: { authorization: Authorization }
      • authorization: Authorization

    Returns Promise<Outbox | NotAuthorizedError>

  • notAuthorizedResponse(): NotAuthorizedError
  • Returns NotAuthorizedError

  • outboxResponse(): Promise<Outbox>
  • Returns Promise<Outbox>

Generated using TypeDoc