setup-java/node_modules/typed-rest-client/handlers/personalaccesstoken.d.ts

9 lines
427 B
TypeScript
Raw Normal View History

2019-07-10 16:54:25 +02:00
import ifm = require('../Interfaces');
export declare class PersonalAccessTokenCredentialHandler 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>;
}