1 | ;
|
2 |
|
3 | exports.__esModule = true;
|
4 | exports["default"] = void 0;
|
5 |
|
6 | /*!
|
7 | * Copyright 2016 Amazon.com,
|
8 | * Inc. or its affiliates. All Rights Reserved.
|
9 | *
|
10 | * Licensed under the Amazon Software License (the "License").
|
11 | * You may not use this file except in compliance with the
|
12 | * License. A copy of the License is located at
|
13 | *
|
14 | * http://aws.amazon.com/asl/
|
15 | *
|
16 | * or in the "license" file accompanying this file. This file is
|
17 | * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
18 | * CONDITIONS OF ANY KIND, express or implied. See the License
|
19 | * for the specific language governing permissions and
|
20 | * limitations under the License.
|
21 | */
|
22 |
|
23 | /** @class */
|
24 | var CognitoRefreshToken = /*#__PURE__*/function () {
|
25 | /**
|
26 | * Constructs a new CognitoRefreshToken object
|
27 | * @param {string=} RefreshToken The JWT refresh token.
|
28 | */
|
29 | function CognitoRefreshToken(_temp) {
|
30 | var _ref = _temp === void 0 ? {} : _temp,
|
31 | RefreshToken = _ref.RefreshToken;
|
32 |
|
33 | // Assign object
|
34 | this.token = RefreshToken || '';
|
35 | }
|
36 | /**
|
37 | * @returns {string} the record's token.
|
38 | */
|
39 |
|
40 |
|
41 | var _proto = CognitoRefreshToken.prototype;
|
42 |
|
43 | _proto.getToken = function getToken() {
|
44 | return this.token;
|
45 | };
|
46 |
|
47 | return CognitoRefreshToken;
|
48 | }();
|
49 |
|
50 | exports["default"] = CognitoRefreshToken; |
\ | No newline at end of file |