Skip to main content

getAzureRequestOptions()

Home > @backstage/integration > getAzureRequestOptions

Warning: This API is now obsolete.

Use AzureDevOpsCredentialsProvider instead.

Gets the request options necessary to make requests to a given provider.

Signature:

function getAzureRequestOptions(config: AzureIntegrationConfig, additionalHeaders?: Record<string, string>): Promise<{
headers: Record<string, string>;
}>;

Parameters

Parameter

Type

Description

config

AzureIntegrationConfig

The relevant provider config

additionalHeaders

Record<string, string>

(Optional) Additional headers for the request

**Returns:**

Promise<{ headers: Record<string, string>; }>