UNPKG

862 BTypeScriptView Raw
1import { ServiceClientCredentials } from "../credentials/serviceClientCredentials";
2import { HttpOperationResponse } from "../httpOperationResponse";
3import { WebResourceLike } from "../webResource";
4import { BaseRequestPolicy, RequestPolicyFactory, RequestPolicy, RequestPolicyOptionsLike } from "./requestPolicy";
5export declare function signingPolicy(authenticationProvider: ServiceClientCredentials): RequestPolicyFactory;
6export declare class SigningPolicy extends BaseRequestPolicy {
7 authenticationProvider: ServiceClientCredentials;
8 constructor(nextPolicy: RequestPolicy, options: RequestPolicyOptionsLike, authenticationProvider: ServiceClientCredentials);
9 signRequest(request: WebResourceLike): Promise<WebResourceLike>;
10 sendRequest(request: WebResourceLike): Promise<HttpOperationResponse>;
11}
12//# sourceMappingURL=signingPolicy.d.ts.map
\No newline at end of file