ForgeContainerAdapter
Defined in: packages/core/src/adapters/ForgeContainerAdapter.ts:51
Adapter for Forge Container backends.
Routes requests through the Forge egress proxy using forge-proxy-authorization headers.
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ForgeContainerAdapter(
options):ForgeContainerAdapter
Defined in: packages/core/src/adapters/ForgeContainerAdapter.ts:60
Create a new ForgeContainerAdapter.
Parameters
Section titled “Parameters”options
Section titled “options”Configuration including product, proxy URL, and installation ID
Returns
Section titled “Returns”ForgeContainerAdapter
Properties
Section titled “Properties”product
Section titled “product”
readonlyproduct:"jira"|"confluence"
Defined in: packages/core/src/adapters/ForgeContainerAdapter.ts:52
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/ForgeContainerAdapter.ts:70
Execute a request through the Forge egress proxy.
Injects the appropriate forge-proxy-authorization header based on the auth context.
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”Promise<Response>