diff options
Diffstat (limited to 'node_modules/@actions/http-client/lib/auth.js')
| -rw-r--r-- | node_modules/@actions/http-client/lib/auth.js | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/node_modules/@actions/http-client/lib/auth.js b/node_modules/@actions/http-client/lib/auth.js index 2c150a3..62fe7c7 100644 --- a/node_modules/@actions/http-client/lib/auth.js +++ b/node_modules/@actions/http-client/lib/auth.js @@ -1,4 +1,3 @@ -"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { @@ -8,9 +7,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge step((generator = generator.apply(thisArg, _arguments || [])).next()); }); }; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.PersonalAccessTokenCredentialHandler = exports.BearerCredentialHandler = exports.BasicCredentialHandler = void 0; -class BasicCredentialHandler { +export class BasicCredentialHandler { constructor(username, password) { this.username = username; this.password = password; @@ -31,8 +28,7 @@ class BasicCredentialHandler { }); } } -exports.BasicCredentialHandler = BasicCredentialHandler; -class BearerCredentialHandler { +export class BearerCredentialHandler { constructor(token) { this.token = token; } @@ -54,8 +50,7 @@ class BearerCredentialHandler { }); } } -exports.BearerCredentialHandler = BearerCredentialHandler; -class PersonalAccessTokenCredentialHandler { +export class PersonalAccessTokenCredentialHandler { constructor(token) { this.token = token; } @@ -77,5 +72,4 @@ class PersonalAccessTokenCredentialHandler { }); } } -exports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHandler; //# sourceMappingURL=auth.js.map
\ No newline at end of file |
