/** * The type of Azure DevOps credential, either bearer or pat. * @public */ export type AzureDevOpsCredentialType = 'bearer' | 'pat'; /** * A set of credentials for Azure DevOps. * * @public */ export type AzureDevOpsCredentials = { headers: { [name: string]: string; }; token: string; type: AzureDevOpsCredentialType; }; /** * This allows implementations to be provided to retrieve Azure DevOps credentials. * * @public * */ export interface AzureDevOpsCredentialsProvider { getCredentials(opts: { url: string; }): Promise; }