1 | function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
2 |
|
3 | /*!
|
4 | * Copyright 2016 Amazon.com,
|
5 | * Inc. or its affiliates. All Rights Reserved.
|
6 | *
|
7 | * Licensed under the Amazon Software License (the "License").
|
8 | * You may not use this file except in compliance with the
|
9 | * License. A copy of the License is located at
|
10 | *
|
11 | * http://aws.amazon.com/asl/
|
12 | *
|
13 | * or in the "license" file accompanying this file. This file is
|
14 | * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
15 | * CONDITIONS OF ANY KIND, express or implied. See the License
|
16 | * for the specific language governing permissions and
|
17 | * limitations under the License.
|
18 | */
|
19 | import CognitoJwtToken from './CognitoJwtToken';
|
20 | /** @class */
|
21 |
|
22 | var CognitoIdToken = /*#__PURE__*/function (_CognitoJwtToken) {
|
23 | _inheritsLoose(CognitoIdToken, _CognitoJwtToken);
|
24 |
|
25 | /**
|
26 | * Constructs a new CognitoIdToken object
|
27 | * @param {string=} IdToken The JWT Id token
|
28 | */
|
29 | function CognitoIdToken(_temp) {
|
30 | var _ref = _temp === void 0 ? {} : _temp,
|
31 | IdToken = _ref.IdToken;
|
32 |
|
33 | return _CognitoJwtToken.call(this, IdToken || '') || this;
|
34 | }
|
35 |
|
36 | return CognitoIdToken;
|
37 | }(CognitoJwtToken);
|
38 |
|
39 | export { CognitoIdToken as default }; |
\ | No newline at end of file |