1 | import { WebResourceLike } from "../webResource";
|
2 | import { ServiceClientCredentials } from "./serviceClientCredentials";
|
3 | export declare class BasicAuthenticationCredentials implements ServiceClientCredentials {
|
4 | userName: string;
|
5 | password: string;
|
6 | authorizationScheme: string;
|
7 | |
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 | constructor(userName: string, password: string, authorizationScheme?: string);
|
16 | /**
|
17 | * Signs a request with the Authentication header.
|
18 | *
|
19 | * @param {WebResourceLike} webResource The WebResourceLike to be signed.
|
20 | * @returns {Promise<WebResourceLike>} The signed request object.
|
21 | */
|
22 | signRequest(webResource: WebResourceLike): Promise<WebResourceLike>;
|
23 | }
|
24 |
|
\ | No newline at end of file |