getGitHubRequestOptions()
Home > @backstage/integration
> getGitHubRequestOptions
Warning: This API is now obsolete.
This function is no longer used internally
Gets the request options necessary to make requests to a given provider.
Signature:
function getGitHubRequestOptions(config: GithubIntegrationConfig, credentials: GithubCredentials): {
headers: Record<string, string>;
};
Parameters
Parameter |
Type |
Description |
---|---|---|
config |
The relevant provider config | |
credentials |
{ headers: Record<string, string>; }