mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-10-19 20:41:12 +08:00
9 lines
427 B
TypeScript
9 lines
427 B
TypeScript
|
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>;
|
||
|
}
|