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 |
The relevant provider config | |
additionalHeaders |
Record<string, string> |
(Optional) Additional headers for the request |
Promise<{ headers: Record<string, string>; }>