ForgeRemoteAdapter
Defined in: packages/core/src/adapters/ForgeRemoteAdapter.ts:91
Adapter for Forge Remote backends.
A Forge Remote is a stateless, externally-hosted service (your own server,
AWS Lambda, Cloud Run, etc.) that Forge calls via a declared remote module
in manifest.yml. Unlike ForgeContainerAdapter, the installationId
and appSystemToken are provided fresh in every inbound invocation payload —
you do not need to fetch them at startup.
For the simplest setup, use adapterFromForgePayload to create an adapter directly from the invocation payload.
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ForgeRemoteAdapter(
options):ForgeRemoteAdapter
Defined in: packages/core/src/adapters/ForgeRemoteAdapter.ts:101
Create a new ForgeRemoteAdapter.
Parameters
Section titled “Parameters”options
Section titled “options”Configuration including product, proxy URL, installation ID, and app system token
Returns
Section titled “Returns”ForgeRemoteAdapter
Properties
Section titled “Properties”product
Section titled “product”
readonlyproduct:"jira"|"confluence"
Defined in: packages/core/src/adapters/ForgeRemoteAdapter.ts:92
The Atlassian product this adapter is configured to make requests to
Implementation of
Section titled “Implementation of”Methods
Section titled “Methods”fetch()
Section titled “fetch()”fetch(
options):Promise<Response>
Defined in: packages/core/src/adapters/ForgeRemoteAdapter.ts:112
Execute a request through the Forge egress proxy.
Injects forge-proxy-authorization header with the app system token and installation ID.
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”Promise<Response>