UNPKG

991 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 CognitoAccessToken = /*#__PURE__*/function (_CognitoJwtToken) {
14 _inheritsLoose(CognitoAccessToken, _CognitoJwtToken);
15
16 /**
17 * Constructs a new CognitoAccessToken object
18 * @param {string=} AccessToken The JWT access token.
19 */
20 function CognitoAccessToken(_temp) {
21 var _ref = _temp === void 0 ? {} : _temp,
22 AccessToken = _ref.AccessToken;
23
24 return _CognitoJwtToken.call(this, AccessToken || '') || this;
25 }
26
27 return CognitoAccessToken;
28}(_CognitoJwtToken2["default"]);
29
30exports["default"] = CognitoAccessToken;
\No newline at end of file