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