mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2024-09-19 18:47:08 -04:00
8 lines
427 B
TypeScript
8 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>;
|
|
}
|