getBitbucketCloudRequestOptions()
Home > @backstage/integration > getBitbucketCloudRequestOptions
Gets the request options necessary to make requests to a given provider. Returns headers for authenticating with Bitbucket Cloud. Supports OAuth (clientId/clientSecret), username/token, and username/appPassword auth.
Signature:
function getBitbucketCloudRequestOptions(config: BitbucketCloudIntegrationConfig): Promise<{
headers: Record<string, string>;
}>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
config |
The relevant provider config |
Returns:
Promise<{ headers: Record<string, string>; }>