aboutsummaryrefslogtreecommitdiff
path: root/node_modules/typed-rest-client/handlers/basiccreds.d.ts
blob: 17ade55e486f74927dd3d87c2ead6f5103a5a26c (plain) (blame)
1
2
3
4
5
6
7
8
9
import ifm = require('../Interfaces');
export declare class BasicCredentialHandler implements ifm.IRequestHandler {
    username: string;
    password: string;
    constructor(username: string, password: string);
    prepareRequest(options: any): void;
    canHandleAuthentication(response: ifm.IHttpClientResponse): boolean;
    handleAuthentication(httpClient: ifm.IHttpClient, requestInfo: ifm.IRequestInfo, objs: any): Promise<ifm.IHttpClientResponse>;
}