1 | "use strict";
|
2 |
|
3 | exports.__esModule = true;
|
4 | exports["default"] = void 0;
|
5 |
|
6 | var _CognitoJwtToken2 = _interopRequireDefault(require("./CognitoJwtToken"));
|
7 |
|
8 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
9 |
|
10 | function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
11 |
|
12 | function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
13 |
|
14 | function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
15 |
|
16 | function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
17 |
|
18 | function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
19 |
|
20 | function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
21 |
|
22 |
|
23 | var CognitoIdToken = function (_CognitoJwtToken) {
|
24 | _inheritsLoose(CognitoIdToken, _CognitoJwtToken);
|
25 |
|
26 | var _super = _createSuper(CognitoIdToken);
|
27 |
|
28 | |
29 |
|
30 |
|
31 |
|
32 | function CognitoIdToken(_temp) {
|
33 | var _ref = _temp === void 0 ? {} : _temp,
|
34 | IdToken = _ref.IdToken;
|
35 |
|
36 | return _CognitoJwtToken.call(this, IdToken || '') || this;
|
37 | }
|
38 |
|
39 | return CognitoIdToken;
|
40 | }(_CognitoJwtToken2["default"]);
|
41 |
|
42 | exports["default"] = CognitoIdToken; |
\ | No newline at end of file |