mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-02-24 11:20:24 +08:00
24 lines
991 B
TypeScript
24 lines
991 B
TypeScript
import { WebResourceLike } from "../webResource";
|
|
import { ServiceClientCredentials } from "./serviceClientCredentials";
|
|
export declare class BasicAuthenticationCredentials implements ServiceClientCredentials {
|
|
userName: string;
|
|
password: string;
|
|
authorizationScheme: string;
|
|
/**
|
|
* Creates a new BasicAuthenticationCredentials object.
|
|
*
|
|
* @constructor
|
|
* @param {string} userName User name.
|
|
* @param {string} password Password.
|
|
* @param {string} [authorizationScheme] The authorization scheme.
|
|
*/
|
|
constructor(userName: string, password: string, authorizationScheme?: string);
|
|
/**
|
|
* Signs a request with the Authentication header.
|
|
*
|
|
* @param {WebResourceLike} webResource The WebResourceLike to be signed.
|
|
* @returns {Promise<WebResourceLike>} The signed request object.
|
|
*/
|
|
signRequest(webResource: WebResourceLike): Promise<WebResourceLike>;
|
|
}
|
|
//# sourceMappingURL=basicAuthenticationCredentials.d.ts.map
|