mirror of
https://github.com/oven-sh/setup-bun.git
synced 2026-06-15 14:40:45 +00:00
feat: add @actions/cache
This commit is contained in:
+25
@@ -0,0 +1,25 @@
|
||||
import { WebResourceLike } from "../webResource";
|
||||
import { ServiceClientCredentials } from "./serviceClientCredentials";
|
||||
/**
|
||||
* A credentials object that uses a token string and a authorzation scheme to authenticate.
|
||||
*/
|
||||
export declare class TokenCredentials implements ServiceClientCredentials {
|
||||
token: string;
|
||||
authorizationScheme: string;
|
||||
/**
|
||||
* Creates a new TokenCredentials object.
|
||||
*
|
||||
* @constructor
|
||||
* @param {string} token The token.
|
||||
* @param {string} [authorizationScheme] The authorization scheme.
|
||||
*/
|
||||
constructor(token: string, authorizationScheme?: string);
|
||||
/**
|
||||
* Signs a request with the Authentication header.
|
||||
*
|
||||
* @param {WebResourceLike} webResource The WebResourceLike to be signed.
|
||||
* @return {Promise<WebResourceLike>} The signed request object.
|
||||
*/
|
||||
signRequest(webResource: WebResourceLike): Promise<WebResourceLike>;
|
||||
}
|
||||
//# sourceMappingURL=tokenCredentials.d.ts.map
|
||||
Reference in New Issue
Block a user