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