UNPKG

946 BJavaScriptView Raw
1"use strict";
2
3exports.__esModule = true;
4exports["default"] = void 0;
5
6var _CognitoJwtToken2 = _interopRequireDefault(require("./CognitoJwtToken"));
7
8function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
9
10function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
11
12/** @class */
13var CognitoIdToken = /*#__PURE__*/function (_CognitoJwtToken) {
14 _inheritsLoose(CognitoIdToken, _CognitoJwtToken);
15
16 /**
17 * Constructs a new CognitoIdToken object
18 * @param {string=} IdToken The JWT Id token
19 */
20 function CognitoIdToken(_temp) {
21 var _ref = _temp === void 0 ? {} : _temp,
22 IdToken = _ref.IdToken;
23
24 return _CognitoJwtToken.call(this, IdToken || '') || this;
25 }
26
27 return CognitoIdToken;
28}(_CognitoJwtToken2["default"]);
29
30exports["default"] = CognitoIdToken;
\No newline at end of file