mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-18 20:48:29 +02:00
feat: add @actions/cache
This commit is contained in:
parent
b15fb7d098
commit
16e8c96a41
1932 changed files with 261172 additions and 10 deletions
46
node_modules/@azure/ms-rest-js/es/lib/credentials/apiKeyCredentials.d.ts
generated
vendored
Normal file
46
node_modules/@azure/ms-rest-js/es/lib/credentials/apiKeyCredentials.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,46 @@
|
|||
import { WebResourceLike } from "../webResource";
|
||||
import { ServiceClientCredentials } from "./serviceClientCredentials";
|
||||
/**
|
||||
* @interface ApiKeyCredentialOptions
|
||||
* Describes the options to be provided while creating an instance of ApiKeyCredentials
|
||||
*/
|
||||
export interface ApiKeyCredentialOptions {
|
||||
/**
|
||||
* A key value pair of the header parameters that need to be applied to the request.
|
||||
*/
|
||||
inHeader?: {
|
||||
[x: string]: any;
|
||||
};
|
||||
/**
|
||||
* A key value pair of the query parameters that need to be applied to the request.
|
||||
*/
|
||||
inQuery?: {
|
||||
[x: string]: any;
|
||||
};
|
||||
}
|
||||
/**
|
||||
* Authenticates to a service using an API key.
|
||||
*/
|
||||
export declare class ApiKeyCredentials implements ServiceClientCredentials {
|
||||
/**
|
||||
* A key value pair of the header parameters that need to be applied to the request.
|
||||
*/
|
||||
private readonly inHeader?;
|
||||
/**
|
||||
* A key value pair of the query parameters that need to be applied to the request.
|
||||
*/
|
||||
private readonly inQuery?;
|
||||
/**
|
||||
* @constructor
|
||||
* @param {object} options Specifies the options to be provided for auth. Either header or query needs to be provided.
|
||||
*/
|
||||
constructor(options: ApiKeyCredentialOptions);
|
||||
/**
|
||||
* Signs a request with the values provided in the inHeader and inQuery parameter.
|
||||
*
|
||||
* @param {WebResource} webResource The WebResource to be signed.
|
||||
* @returns {Promise<WebResource>} The signed request object.
|
||||
*/
|
||||
signRequest(webResource: WebResourceLike): Promise<WebResourceLike>;
|
||||
}
|
||||
//# sourceMappingURL=apiKeyCredentials.d.ts.map
|
Loading…
Add table
Add a link
Reference in a new issue