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

ParameterTypeDescription
configAzureIntegrationConfigThe relevant provider config
additionalHeadersRecord<string, string>(Optional) Additional headers for the request

Returns:

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