setup-java/node_modules/typed-rest-client/handlers/bearertoken.d.ts
Danny McCormick 06d666cd11 Populate repo
2019-07-10 10:54:25 -04:00

9 lines
414 B
TypeScript

import ifm = require('../Interfaces');
export declare class BearerCredentialHandler implements ifm.IRequestHandler {
token: string;
constructor(token: string);
prepareRequest(options: any): void;
canHandleAuthentication(response: ifm.IHttpClientResponse): boolean;
handleAuthentication(httpClient: ifm.IHttpClient, requestInfo: ifm.IRequestInfo, objs: any): Promise<ifm.IHttpClientResponse>;
}