@rharkor/caching-for-turbo 2.3.10 → 2.3.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/136.index.js +514 -328
- package/dist/cli/136.index.js.map +1 -1
- package/dist/cli/360.index.js +3 -3
- package/dist/cli/360.index.js.map +1 -1
- package/dist/cli/443.index.js +362 -227
- package/dist/cli/443.index.js.map +1 -1
- package/dist/cli/579.index.js +9 -1
- package/dist/cli/579.index.js.map +1 -1
- package/dist/cli/605.index.js +1 -1
- package/dist/cli/605.index.js.map +1 -1
- package/dist/cli/762.index.js +363 -187
- package/dist/cli/762.index.js.map +1 -1
- package/dist/cli/869.index.js +2 -2
- package/dist/cli/956.index.js +16 -896
- package/dist/cli/956.index.js.map +1 -1
- package/dist/cli/998.index.js +549 -865
- package/dist/cli/998.index.js.map +1 -1
- package/dist/cli/index.js +184357 -186911
- package/dist/cli/licenses.txt +0 -409
- package/dist/cli/worker.js +18 -13
- package/package.json +2 -2
package/dist/cli/443.index.js
CHANGED
|
@@ -8,7 +8,7 @@ export const modules = {
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
10
10
|
exports.resolveHttpAuthSchemeConfig = exports.defaultSSOOIDCHttpAuthSchemeProvider = exports.defaultSSOOIDCHttpAuthSchemeParametersProvider = void 0;
|
|
11
|
-
const
|
|
11
|
+
const httpAuthSchemes_1 = __webpack_require__(97523);
|
|
12
12
|
const util_middleware_1 = __webpack_require__(76324);
|
|
13
13
|
const defaultSSOOIDCHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
14
14
|
return {
|
|
@@ -55,7 +55,7 @@ const defaultSSOOIDCHttpAuthSchemeProvider = (authParameters) => {
|
|
|
55
55
|
};
|
|
56
56
|
exports.defaultSSOOIDCHttpAuthSchemeProvider = defaultSSOOIDCHttpAuthSchemeProvider;
|
|
57
57
|
const resolveHttpAuthSchemeConfig = (config) => {
|
|
58
|
-
const config_0 = (0,
|
|
58
|
+
const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
|
|
59
59
|
return Object.assign(config_0, {
|
|
60
60
|
authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),
|
|
61
61
|
});
|
|
@@ -97,8 +97,107 @@ util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunct
|
|
|
97
97
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
98
98
|
exports.ruleSet = void 0;
|
|
99
99
|
const u = "required", v = "fn", w = "argv", x = "ref";
|
|
100
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false,
|
|
101
|
-
const _data = {
|
|
100
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, type: "string" }, j = { [u]: true, default: false, type: "boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] }, r = [l], s = [m], t = [{ [x]: "Region" }];
|
|
101
|
+
const _data = {
|
|
102
|
+
version: "1.0",
|
|
103
|
+
parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i },
|
|
104
|
+
rules: [
|
|
105
|
+
{
|
|
106
|
+
conditions: [{ [v]: b, [w]: [k] }],
|
|
107
|
+
rules: [
|
|
108
|
+
{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d },
|
|
109
|
+
{ conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d },
|
|
110
|
+
{ endpoint: { url: k, properties: n, headers: n }, type: e },
|
|
111
|
+
],
|
|
112
|
+
type: f,
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
conditions: [{ [v]: b, [w]: t }],
|
|
116
|
+
rules: [
|
|
117
|
+
{
|
|
118
|
+
conditions: [{ [v]: "aws.partition", [w]: t, assign: g }],
|
|
119
|
+
rules: [
|
|
120
|
+
{
|
|
121
|
+
conditions: [l, m],
|
|
122
|
+
rules: [
|
|
123
|
+
{
|
|
124
|
+
conditions: [{ [v]: c, [w]: [a, o] }, q],
|
|
125
|
+
rules: [
|
|
126
|
+
{
|
|
127
|
+
endpoint: {
|
|
128
|
+
url: "https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
129
|
+
properties: n,
|
|
130
|
+
headers: n,
|
|
131
|
+
},
|
|
132
|
+
type: e,
|
|
133
|
+
},
|
|
134
|
+
],
|
|
135
|
+
type: f,
|
|
136
|
+
},
|
|
137
|
+
{ error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d },
|
|
138
|
+
],
|
|
139
|
+
type: f,
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
conditions: r,
|
|
143
|
+
rules: [
|
|
144
|
+
{
|
|
145
|
+
conditions: [{ [v]: c, [w]: [o, a] }],
|
|
146
|
+
rules: [
|
|
147
|
+
{
|
|
148
|
+
conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }],
|
|
149
|
+
endpoint: { url: "https://oidc.{Region}.amazonaws.com", properties: n, headers: n },
|
|
150
|
+
type: e,
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
endpoint: {
|
|
154
|
+
url: "https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
155
|
+
properties: n,
|
|
156
|
+
headers: n,
|
|
157
|
+
},
|
|
158
|
+
type: e,
|
|
159
|
+
},
|
|
160
|
+
],
|
|
161
|
+
type: f,
|
|
162
|
+
},
|
|
163
|
+
{ error: "FIPS is enabled but this partition does not support FIPS", type: d },
|
|
164
|
+
],
|
|
165
|
+
type: f,
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
conditions: s,
|
|
169
|
+
rules: [
|
|
170
|
+
{
|
|
171
|
+
conditions: [q],
|
|
172
|
+
rules: [
|
|
173
|
+
{
|
|
174
|
+
endpoint: {
|
|
175
|
+
url: "https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
176
|
+
properties: n,
|
|
177
|
+
headers: n,
|
|
178
|
+
},
|
|
179
|
+
type: e,
|
|
180
|
+
},
|
|
181
|
+
],
|
|
182
|
+
type: f,
|
|
183
|
+
},
|
|
184
|
+
{ error: "DualStack is enabled but this partition does not support DualStack", type: d },
|
|
185
|
+
],
|
|
186
|
+
type: f,
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
endpoint: { url: "https://oidc.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n },
|
|
190
|
+
type: e,
|
|
191
|
+
},
|
|
192
|
+
],
|
|
193
|
+
type: f,
|
|
194
|
+
},
|
|
195
|
+
],
|
|
196
|
+
type: f,
|
|
197
|
+
},
|
|
198
|
+
{ error: "Invalid Configuration: Missing Region", type: d },
|
|
199
|
+
],
|
|
200
|
+
};
|
|
102
201
|
exports.ruleSet = _data;
|
|
103
202
|
|
|
104
203
|
|
|
@@ -107,7 +206,6 @@ exports.ruleSet = _data;
|
|
|
107
206
|
/***/ 89443:
|
|
108
207
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
109
208
|
|
|
110
|
-
var __webpack_unused_export__;
|
|
111
209
|
|
|
112
210
|
|
|
113
211
|
var middlewareHostHeader = __webpack_require__(52590);
|
|
@@ -125,6 +223,9 @@ var httpAuthSchemeProvider = __webpack_require__(8396);
|
|
|
125
223
|
var runtimeConfig = __webpack_require__(16901);
|
|
126
224
|
var regionConfigResolver = __webpack_require__(36463);
|
|
127
225
|
var protocolHttp = __webpack_require__(72356);
|
|
226
|
+
var schemas_0 = __webpack_require__(7143);
|
|
227
|
+
var errors = __webpack_require__(55843);
|
|
228
|
+
var SSOOIDCServiceException = __webpack_require__(93952);
|
|
128
229
|
|
|
129
230
|
const resolveClientEndpointParameters = (options) => {
|
|
130
231
|
return Object.assign(options, {
|
|
@@ -220,14 +321,94 @@ class SSOOIDCClient extends smithyClient.Client {
|
|
|
220
321
|
}
|
|
221
322
|
}
|
|
222
323
|
|
|
223
|
-
class
|
|
324
|
+
class CreateTokenCommand extends smithyClient.Command
|
|
325
|
+
.classBuilder()
|
|
326
|
+
.ep(commonParams)
|
|
327
|
+
.m(function (Command, cs, config, o) {
|
|
328
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
329
|
+
})
|
|
330
|
+
.s("AWSSSOOIDCService", "CreateToken", {})
|
|
331
|
+
.n("SSOOIDCClient", "CreateTokenCommand")
|
|
332
|
+
.sc(schemas_0.CreateToken$)
|
|
333
|
+
.build() {
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
const commands = {
|
|
337
|
+
CreateTokenCommand,
|
|
338
|
+
};
|
|
339
|
+
class SSOOIDC extends SSOOIDCClient {
|
|
340
|
+
}
|
|
341
|
+
smithyClient.createAggregatedClient(commands, SSOOIDC);
|
|
342
|
+
|
|
343
|
+
const AccessDeniedExceptionReason = {
|
|
344
|
+
KMS_ACCESS_DENIED: "KMS_AccessDeniedException",
|
|
345
|
+
};
|
|
346
|
+
const InvalidRequestExceptionReason = {
|
|
347
|
+
KMS_DISABLED_KEY: "KMS_DisabledException",
|
|
348
|
+
KMS_INVALID_KEY_USAGE: "KMS_InvalidKeyUsageException",
|
|
349
|
+
KMS_INVALID_STATE: "KMS_InvalidStateException",
|
|
350
|
+
KMS_KEY_NOT_FOUND: "KMS_NotFoundException",
|
|
351
|
+
};
|
|
352
|
+
|
|
353
|
+
exports.$Command = smithyClient.Command;
|
|
354
|
+
exports.__Client = smithyClient.Client;
|
|
355
|
+
exports.SSOOIDCServiceException = SSOOIDCServiceException.SSOOIDCServiceException;
|
|
356
|
+
exports.AccessDeniedExceptionReason = AccessDeniedExceptionReason;
|
|
357
|
+
exports.CreateTokenCommand = CreateTokenCommand;
|
|
358
|
+
exports.InvalidRequestExceptionReason = InvalidRequestExceptionReason;
|
|
359
|
+
exports.SSOOIDC = SSOOIDC;
|
|
360
|
+
exports.SSOOIDCClient = SSOOIDCClient;
|
|
361
|
+
Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
|
|
362
|
+
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
363
|
+
Object.defineProperty(exports, '__proto__', {
|
|
364
|
+
enumerable: true,
|
|
365
|
+
value: schemas_0['__proto__']
|
|
366
|
+
});
|
|
367
|
+
|
|
368
|
+
Object.keys(schemas_0).forEach(function (k) {
|
|
369
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
|
|
370
|
+
});
|
|
371
|
+
Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
|
|
372
|
+
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
373
|
+
Object.defineProperty(exports, '__proto__', {
|
|
374
|
+
enumerable: true,
|
|
375
|
+
value: errors['__proto__']
|
|
376
|
+
});
|
|
377
|
+
|
|
378
|
+
Object.keys(errors).forEach(function (k) {
|
|
379
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
|
|
380
|
+
});
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
/***/ }),
|
|
384
|
+
|
|
385
|
+
/***/ 93952:
|
|
386
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
390
|
+
exports.SSOOIDCServiceException = exports.__ServiceException = void 0;
|
|
391
|
+
const smithy_client_1 = __webpack_require__(61411);
|
|
392
|
+
Object.defineProperty(exports, "__ServiceException", ({ enumerable: true, get: function () { return smithy_client_1.ServiceException; } }));
|
|
393
|
+
class SSOOIDCServiceException extends smithy_client_1.ServiceException {
|
|
224
394
|
constructor(options) {
|
|
225
395
|
super(options);
|
|
226
396
|
Object.setPrototypeOf(this, SSOOIDCServiceException.prototype);
|
|
227
397
|
}
|
|
228
398
|
}
|
|
399
|
+
exports.SSOOIDCServiceException = SSOOIDCServiceException;
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
/***/ }),
|
|
403
|
+
|
|
404
|
+
/***/ 55843:
|
|
405
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
406
|
+
|
|
229
407
|
|
|
230
|
-
|
|
408
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
409
|
+
exports.UnsupportedGrantTypeException = exports.UnauthorizedClientException = exports.SlowDownException = exports.InvalidScopeException = exports.InvalidRequestException = exports.InvalidGrantException = exports.InvalidClientException = exports.InternalServerException = exports.ExpiredTokenException = exports.AuthorizationPendingException = exports.AccessDeniedException = void 0;
|
|
410
|
+
const SSOOIDCServiceException_1 = __webpack_require__(93952);
|
|
411
|
+
class AccessDeniedException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
|
|
231
412
|
name = "AccessDeniedException";
|
|
232
413
|
$fault = "client";
|
|
233
414
|
error;
|
|
@@ -245,7 +426,8 @@ class AccessDeniedException extends SSOOIDCServiceException {
|
|
|
245
426
|
this.error_description = opts.error_description;
|
|
246
427
|
}
|
|
247
428
|
}
|
|
248
|
-
|
|
429
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
430
|
+
class AuthorizationPendingException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
|
|
249
431
|
name = "AuthorizationPendingException";
|
|
250
432
|
$fault = "client";
|
|
251
433
|
error;
|
|
@@ -261,7 +443,8 @@ class AuthorizationPendingException extends SSOOIDCServiceException {
|
|
|
261
443
|
this.error_description = opts.error_description;
|
|
262
444
|
}
|
|
263
445
|
}
|
|
264
|
-
|
|
446
|
+
exports.AuthorizationPendingException = AuthorizationPendingException;
|
|
447
|
+
class ExpiredTokenException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
|
|
265
448
|
name = "ExpiredTokenException";
|
|
266
449
|
$fault = "client";
|
|
267
450
|
error;
|
|
@@ -277,7 +460,8 @@ class ExpiredTokenException extends SSOOIDCServiceException {
|
|
|
277
460
|
this.error_description = opts.error_description;
|
|
278
461
|
}
|
|
279
462
|
}
|
|
280
|
-
|
|
463
|
+
exports.ExpiredTokenException = ExpiredTokenException;
|
|
464
|
+
class InternalServerException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
|
|
281
465
|
name = "InternalServerException";
|
|
282
466
|
$fault = "server";
|
|
283
467
|
error;
|
|
@@ -293,7 +477,8 @@ class InternalServerException extends SSOOIDCServiceException {
|
|
|
293
477
|
this.error_description = opts.error_description;
|
|
294
478
|
}
|
|
295
479
|
}
|
|
296
|
-
|
|
480
|
+
exports.InternalServerException = InternalServerException;
|
|
481
|
+
class InvalidClientException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
|
|
297
482
|
name = "InvalidClientException";
|
|
298
483
|
$fault = "client";
|
|
299
484
|
error;
|
|
@@ -309,7 +494,8 @@ class InvalidClientException extends SSOOIDCServiceException {
|
|
|
309
494
|
this.error_description = opts.error_description;
|
|
310
495
|
}
|
|
311
496
|
}
|
|
312
|
-
|
|
497
|
+
exports.InvalidClientException = InvalidClientException;
|
|
498
|
+
class InvalidGrantException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
|
|
313
499
|
name = "InvalidGrantException";
|
|
314
500
|
$fault = "client";
|
|
315
501
|
error;
|
|
@@ -325,7 +511,8 @@ class InvalidGrantException extends SSOOIDCServiceException {
|
|
|
325
511
|
this.error_description = opts.error_description;
|
|
326
512
|
}
|
|
327
513
|
}
|
|
328
|
-
|
|
514
|
+
exports.InvalidGrantException = InvalidGrantException;
|
|
515
|
+
class InvalidRequestException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
|
|
329
516
|
name = "InvalidRequestException";
|
|
330
517
|
$fault = "client";
|
|
331
518
|
error;
|
|
@@ -343,7 +530,8 @@ class InvalidRequestException extends SSOOIDCServiceException {
|
|
|
343
530
|
this.error_description = opts.error_description;
|
|
344
531
|
}
|
|
345
532
|
}
|
|
346
|
-
|
|
533
|
+
exports.InvalidRequestException = InvalidRequestException;
|
|
534
|
+
class InvalidScopeException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
|
|
347
535
|
name = "InvalidScopeException";
|
|
348
536
|
$fault = "client";
|
|
349
537
|
error;
|
|
@@ -359,7 +547,8 @@ class InvalidScopeException extends SSOOIDCServiceException {
|
|
|
359
547
|
this.error_description = opts.error_description;
|
|
360
548
|
}
|
|
361
549
|
}
|
|
362
|
-
|
|
550
|
+
exports.InvalidScopeException = InvalidScopeException;
|
|
551
|
+
class SlowDownException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
|
|
363
552
|
name = "SlowDownException";
|
|
364
553
|
$fault = "client";
|
|
365
554
|
error;
|
|
@@ -375,7 +564,8 @@ class SlowDownException extends SSOOIDCServiceException {
|
|
|
375
564
|
this.error_description = opts.error_description;
|
|
376
565
|
}
|
|
377
566
|
}
|
|
378
|
-
|
|
567
|
+
exports.SlowDownException = SlowDownException;
|
|
568
|
+
class UnauthorizedClientException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
|
|
379
569
|
name = "UnauthorizedClientException";
|
|
380
570
|
$fault = "client";
|
|
381
571
|
error;
|
|
@@ -391,7 +581,8 @@ class UnauthorizedClientException extends SSOOIDCServiceException {
|
|
|
391
581
|
this.error_description = opts.error_description;
|
|
392
582
|
}
|
|
393
583
|
}
|
|
394
|
-
|
|
584
|
+
exports.UnauthorizedClientException = UnauthorizedClientException;
|
|
585
|
+
class UnsupportedGrantTypeException extends SSOOIDCServiceException_1.SSOOIDCServiceException {
|
|
395
586
|
name = "UnsupportedGrantTypeException";
|
|
396
587
|
$fault = "client";
|
|
397
588
|
error;
|
|
@@ -407,206 +598,7 @@ class UnsupportedGrantTypeException extends SSOOIDCServiceException {
|
|
|
407
598
|
this.error_description = opts.error_description;
|
|
408
599
|
}
|
|
409
600
|
}
|
|
410
|
-
|
|
411
|
-
const _ADE = "AccessDeniedException";
|
|
412
|
-
const _APE = "AuthorizationPendingException";
|
|
413
|
-
const _AT = "AccessToken";
|
|
414
|
-
const _CS = "ClientSecret";
|
|
415
|
-
const _CT = "CreateToken";
|
|
416
|
-
const _CTR = "CreateTokenRequest";
|
|
417
|
-
const _CTRr = "CreateTokenResponse";
|
|
418
|
-
const _CV = "CodeVerifier";
|
|
419
|
-
const _ETE = "ExpiredTokenException";
|
|
420
|
-
const _ICE = "InvalidClientException";
|
|
421
|
-
const _IGE = "InvalidGrantException";
|
|
422
|
-
const _IRE = "InvalidRequestException";
|
|
423
|
-
const _ISE = "InternalServerException";
|
|
424
|
-
const _ISEn = "InvalidScopeException";
|
|
425
|
-
const _IT = "IdToken";
|
|
426
|
-
const _RT = "RefreshToken";
|
|
427
|
-
const _SDE = "SlowDownException";
|
|
428
|
-
const _UCE = "UnauthorizedClientException";
|
|
429
|
-
const _UGTE = "UnsupportedGrantTypeException";
|
|
430
|
-
const _aT = "accessToken";
|
|
431
|
-
const _c = "client";
|
|
432
|
-
const _cI = "clientId";
|
|
433
|
-
const _cS = "clientSecret";
|
|
434
|
-
const _cV = "codeVerifier";
|
|
435
|
-
const _co = "code";
|
|
436
|
-
const _dC = "deviceCode";
|
|
437
|
-
const _e = "error";
|
|
438
|
-
const _eI = "expiresIn";
|
|
439
|
-
const _ed = "error_description";
|
|
440
|
-
const _gT = "grantType";
|
|
441
|
-
const _h = "http";
|
|
442
|
-
const _hE = "httpError";
|
|
443
|
-
const _iT = "idToken";
|
|
444
|
-
const _r = "reason";
|
|
445
|
-
const _rT = "refreshToken";
|
|
446
|
-
const _rU = "redirectUri";
|
|
447
|
-
const _s = "scope";
|
|
448
|
-
const _se = "server";
|
|
449
|
-
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.ssooidc";
|
|
450
|
-
const _tT = "tokenType";
|
|
451
|
-
const n0 = "com.amazonaws.ssooidc";
|
|
452
|
-
var AccessToken = [0, n0, _AT, 8, 0];
|
|
453
|
-
var ClientSecret = [0, n0, _CS, 8, 0];
|
|
454
|
-
var CodeVerifier = [0, n0, _CV, 8, 0];
|
|
455
|
-
var IdToken = [0, n0, _IT, 8, 0];
|
|
456
|
-
var RefreshToken = [0, n0, _RT, 8, 0];
|
|
457
|
-
var AccessDeniedException$ = [
|
|
458
|
-
-3,
|
|
459
|
-
n0,
|
|
460
|
-
_ADE,
|
|
461
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
462
|
-
[_e, _r, _ed],
|
|
463
|
-
[0, 0, 0],
|
|
464
|
-
];
|
|
465
|
-
schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
466
|
-
var AuthorizationPendingException$ = [
|
|
467
|
-
-3,
|
|
468
|
-
n0,
|
|
469
|
-
_APE,
|
|
470
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
471
|
-
[_e, _ed],
|
|
472
|
-
[0, 0],
|
|
473
|
-
];
|
|
474
|
-
schema.TypeRegistry.for(n0).registerError(AuthorizationPendingException$, AuthorizationPendingException);
|
|
475
|
-
var CreateTokenRequest$ = [
|
|
476
|
-
3,
|
|
477
|
-
n0,
|
|
478
|
-
_CTR,
|
|
479
|
-
0,
|
|
480
|
-
[_cI, _cS, _gT, _dC, _co, _rT, _s, _rU, _cV],
|
|
481
|
-
[0, [() => ClientSecret, 0], 0, 0, 0, [() => RefreshToken, 0], 64 | 0, 0, [() => CodeVerifier, 0]],
|
|
482
|
-
];
|
|
483
|
-
var CreateTokenResponse$ = [
|
|
484
|
-
3,
|
|
485
|
-
n0,
|
|
486
|
-
_CTRr,
|
|
487
|
-
0,
|
|
488
|
-
[_aT, _tT, _eI, _rT, _iT],
|
|
489
|
-
[[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0]],
|
|
490
|
-
];
|
|
491
|
-
var ExpiredTokenException$ = [-3, n0, _ETE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
|
|
492
|
-
schema.TypeRegistry.for(n0).registerError(ExpiredTokenException$, ExpiredTokenException);
|
|
493
|
-
var InternalServerException$ = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_e, _ed], [0, 0]];
|
|
494
|
-
schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
495
|
-
var InvalidClientException$ = [-3, n0, _ICE, { [_e]: _c, [_hE]: 401 }, [_e, _ed], [0, 0]];
|
|
496
|
-
schema.TypeRegistry.for(n0).registerError(InvalidClientException$, InvalidClientException);
|
|
497
|
-
var InvalidGrantException$ = [-3, n0, _IGE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
|
|
498
|
-
schema.TypeRegistry.for(n0).registerError(InvalidGrantException$, InvalidGrantException);
|
|
499
|
-
var InvalidRequestException$ = [
|
|
500
|
-
-3,
|
|
501
|
-
n0,
|
|
502
|
-
_IRE,
|
|
503
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
504
|
-
[_e, _r, _ed],
|
|
505
|
-
[0, 0, 0],
|
|
506
|
-
];
|
|
507
|
-
schema.TypeRegistry.for(n0).registerError(InvalidRequestException$, InvalidRequestException);
|
|
508
|
-
var InvalidScopeException$ = [-3, n0, _ISEn, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
|
|
509
|
-
schema.TypeRegistry.for(n0).registerError(InvalidScopeException$, InvalidScopeException);
|
|
510
|
-
var SlowDownException$ = [-3, n0, _SDE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
|
|
511
|
-
schema.TypeRegistry.for(n0).registerError(SlowDownException$, SlowDownException);
|
|
512
|
-
var UnauthorizedClientException$ = [
|
|
513
|
-
-3,
|
|
514
|
-
n0,
|
|
515
|
-
_UCE,
|
|
516
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
517
|
-
[_e, _ed],
|
|
518
|
-
[0, 0],
|
|
519
|
-
];
|
|
520
|
-
schema.TypeRegistry.for(n0).registerError(UnauthorizedClientException$, UnauthorizedClientException);
|
|
521
|
-
var UnsupportedGrantTypeException$ = [
|
|
522
|
-
-3,
|
|
523
|
-
n0,
|
|
524
|
-
_UGTE,
|
|
525
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
526
|
-
[_e, _ed],
|
|
527
|
-
[0, 0],
|
|
528
|
-
];
|
|
529
|
-
schema.TypeRegistry.for(n0).registerError(UnsupportedGrantTypeException$, UnsupportedGrantTypeException);
|
|
530
|
-
var SSOOIDCServiceException$ = [-3, _sm, "SSOOIDCServiceException", 0, [], []];
|
|
531
|
-
schema.TypeRegistry.for(_sm).registerError(SSOOIDCServiceException$, SSOOIDCServiceException);
|
|
532
|
-
var CreateToken$ = [
|
|
533
|
-
9,
|
|
534
|
-
n0,
|
|
535
|
-
_CT,
|
|
536
|
-
{ [_h]: ["POST", "/token", 200] },
|
|
537
|
-
() => CreateTokenRequest$,
|
|
538
|
-
() => CreateTokenResponse$,
|
|
539
|
-
];
|
|
540
|
-
|
|
541
|
-
class CreateTokenCommand extends smithyClient.Command
|
|
542
|
-
.classBuilder()
|
|
543
|
-
.ep(commonParams)
|
|
544
|
-
.m(function (Command, cs, config, o) {
|
|
545
|
-
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
546
|
-
})
|
|
547
|
-
.s("AWSSSOOIDCService", "CreateToken", {})
|
|
548
|
-
.n("SSOOIDCClient", "CreateTokenCommand")
|
|
549
|
-
.sc(CreateToken$)
|
|
550
|
-
.build() {
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
const commands = {
|
|
554
|
-
CreateTokenCommand,
|
|
555
|
-
};
|
|
556
|
-
class SSOOIDC extends SSOOIDCClient {
|
|
557
|
-
}
|
|
558
|
-
smithyClient.createAggregatedClient(commands, SSOOIDC);
|
|
559
|
-
|
|
560
|
-
const AccessDeniedExceptionReason = {
|
|
561
|
-
KMS_ACCESS_DENIED: "KMS_AccessDeniedException",
|
|
562
|
-
};
|
|
563
|
-
const InvalidRequestExceptionReason = {
|
|
564
|
-
KMS_DISABLED_KEY: "KMS_DisabledException",
|
|
565
|
-
KMS_INVALID_KEY_USAGE: "KMS_InvalidKeyUsageException",
|
|
566
|
-
KMS_INVALID_STATE: "KMS_InvalidStateException",
|
|
567
|
-
KMS_KEY_NOT_FOUND: "KMS_NotFoundException",
|
|
568
|
-
};
|
|
569
|
-
|
|
570
|
-
__webpack_unused_export__ = ({
|
|
571
|
-
enumerable: true,
|
|
572
|
-
get: function () { return smithyClient.Command; }
|
|
573
|
-
});
|
|
574
|
-
__webpack_unused_export__ = ({
|
|
575
|
-
enumerable: true,
|
|
576
|
-
get: function () { return smithyClient.Client; }
|
|
577
|
-
});
|
|
578
|
-
__webpack_unused_export__ = AccessDeniedException;
|
|
579
|
-
__webpack_unused_export__ = AccessDeniedException$;
|
|
580
|
-
__webpack_unused_export__ = AccessDeniedExceptionReason;
|
|
581
|
-
__webpack_unused_export__ = AuthorizationPendingException;
|
|
582
|
-
__webpack_unused_export__ = AuthorizationPendingException$;
|
|
583
|
-
__webpack_unused_export__ = CreateToken$;
|
|
584
|
-
exports.CreateTokenCommand = CreateTokenCommand;
|
|
585
|
-
__webpack_unused_export__ = CreateTokenRequest$;
|
|
586
|
-
__webpack_unused_export__ = CreateTokenResponse$;
|
|
587
|
-
__webpack_unused_export__ = ExpiredTokenException;
|
|
588
|
-
__webpack_unused_export__ = ExpiredTokenException$;
|
|
589
|
-
__webpack_unused_export__ = InternalServerException;
|
|
590
|
-
__webpack_unused_export__ = InternalServerException$;
|
|
591
|
-
__webpack_unused_export__ = InvalidClientException;
|
|
592
|
-
__webpack_unused_export__ = InvalidClientException$;
|
|
593
|
-
__webpack_unused_export__ = InvalidGrantException;
|
|
594
|
-
__webpack_unused_export__ = InvalidGrantException$;
|
|
595
|
-
__webpack_unused_export__ = InvalidRequestException;
|
|
596
|
-
__webpack_unused_export__ = InvalidRequestException$;
|
|
597
|
-
__webpack_unused_export__ = InvalidRequestExceptionReason;
|
|
598
|
-
__webpack_unused_export__ = InvalidScopeException;
|
|
599
|
-
__webpack_unused_export__ = InvalidScopeException$;
|
|
600
|
-
__webpack_unused_export__ = SSOOIDC;
|
|
601
|
-
exports.SSOOIDCClient = SSOOIDCClient;
|
|
602
|
-
__webpack_unused_export__ = SSOOIDCServiceException;
|
|
603
|
-
__webpack_unused_export__ = SSOOIDCServiceException$;
|
|
604
|
-
__webpack_unused_export__ = SlowDownException;
|
|
605
|
-
__webpack_unused_export__ = SlowDownException$;
|
|
606
|
-
__webpack_unused_export__ = UnauthorizedClientException;
|
|
607
|
-
__webpack_unused_export__ = UnauthorizedClientException$;
|
|
608
|
-
__webpack_unused_export__ = UnsupportedGrantTypeException;
|
|
609
|
-
__webpack_unused_export__ = UnsupportedGrantTypeException$;
|
|
601
|
+
exports.UnsupportedGrantTypeException = UnsupportedGrantTypeException;
|
|
610
602
|
|
|
611
603
|
|
|
612
604
|
/***/ }),
|
|
@@ -619,7 +611,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
619
611
|
exports.getRuntimeConfig = void 0;
|
|
620
612
|
const tslib_1 = __webpack_require__(61860);
|
|
621
613
|
const package_json_1 = tslib_1.__importDefault(__webpack_require__(39955));
|
|
622
|
-
const
|
|
614
|
+
const client_1 = __webpack_require__(5152);
|
|
615
|
+
const httpAuthSchemes_1 = __webpack_require__(97523);
|
|
623
616
|
const util_user_agent_node_1 = __webpack_require__(51656);
|
|
624
617
|
const config_resolver_1 = __webpack_require__(39316);
|
|
625
618
|
const hash_node_1 = __webpack_require__(5092);
|
|
@@ -636,7 +629,7 @@ const getRuntimeConfig = (config) => {
|
|
|
636
629
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
637
630
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
638
631
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
639
|
-
(0,
|
|
632
|
+
(0, client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
640
633
|
const loaderConfig = {
|
|
641
634
|
profile: config?.profile,
|
|
642
635
|
logger: clientSharedValues.logger,
|
|
@@ -646,7 +639,7 @@ const getRuntimeConfig = (config) => {
|
|
|
646
639
|
...config,
|
|
647
640
|
runtime: "node",
|
|
648
641
|
defaultsMode,
|
|
649
|
-
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(
|
|
642
|
+
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
650
643
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
651
644
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
652
645
|
(0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
@@ -677,15 +670,16 @@ exports.getRuntimeConfig = getRuntimeConfig;
|
|
|
677
670
|
|
|
678
671
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
679
672
|
exports.getRuntimeConfig = void 0;
|
|
680
|
-
const
|
|
673
|
+
const httpAuthSchemes_1 = __webpack_require__(97523);
|
|
681
674
|
const protocols_1 = __webpack_require__(37288);
|
|
682
|
-
const
|
|
675
|
+
const core_1 = __webpack_require__(90402);
|
|
683
676
|
const smithy_client_1 = __webpack_require__(61411);
|
|
684
677
|
const url_parser_1 = __webpack_require__(14494);
|
|
685
678
|
const util_base64_1 = __webpack_require__(68385);
|
|
686
679
|
const util_utf8_1 = __webpack_require__(71577);
|
|
687
680
|
const httpAuthSchemeProvider_1 = __webpack_require__(8396);
|
|
688
681
|
const endpointResolver_1 = __webpack_require__(90546);
|
|
682
|
+
const schemas_0_1 = __webpack_require__(7143);
|
|
689
683
|
const getRuntimeConfig = (config) => {
|
|
690
684
|
return {
|
|
691
685
|
apiVersion: "2019-06-10",
|
|
@@ -699,18 +693,19 @@ const getRuntimeConfig = (config) => {
|
|
|
699
693
|
{
|
|
700
694
|
schemeId: "aws.auth#sigv4",
|
|
701
695
|
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
702
|
-
signer: new
|
|
696
|
+
signer: new httpAuthSchemes_1.AwsSdkSigV4Signer(),
|
|
703
697
|
},
|
|
704
698
|
{
|
|
705
699
|
schemeId: "smithy.api#noAuth",
|
|
706
700
|
identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
|
|
707
|
-
signer: new
|
|
701
|
+
signer: new core_1.NoAuthSigner(),
|
|
708
702
|
},
|
|
709
703
|
],
|
|
710
704
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
711
705
|
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
712
706
|
protocolSettings: config?.protocolSettings ?? {
|
|
713
707
|
defaultNamespace: "com.amazonaws.ssooidc",
|
|
708
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
714
709
|
version: "2019-06-10",
|
|
715
710
|
serviceTarget: "AWSSSOOIDCService",
|
|
716
711
|
},
|
|
@@ -725,10 +720,150 @@ exports.getRuntimeConfig = getRuntimeConfig;
|
|
|
725
720
|
|
|
726
721
|
/***/ }),
|
|
727
722
|
|
|
728
|
-
/***/
|
|
729
|
-
/***/ ((
|
|
723
|
+
/***/ 7143:
|
|
724
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
725
|
+
|
|
726
|
+
|
|
727
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
728
|
+
exports.CreateToken$ = exports.CreateTokenResponse$ = exports.CreateTokenRequest$ = exports.errorTypeRegistries = exports.UnsupportedGrantTypeException$ = exports.UnauthorizedClientException$ = exports.SlowDownException$ = exports.InvalidScopeException$ = exports.InvalidRequestException$ = exports.InvalidGrantException$ = exports.InvalidClientException$ = exports.InternalServerException$ = exports.ExpiredTokenException$ = exports.AuthorizationPendingException$ = exports.AccessDeniedException$ = exports.SSOOIDCServiceException$ = void 0;
|
|
729
|
+
const _ADE = "AccessDeniedException";
|
|
730
|
+
const _APE = "AuthorizationPendingException";
|
|
731
|
+
const _AT = "AccessToken";
|
|
732
|
+
const _CS = "ClientSecret";
|
|
733
|
+
const _CT = "CreateToken";
|
|
734
|
+
const _CTR = "CreateTokenRequest";
|
|
735
|
+
const _CTRr = "CreateTokenResponse";
|
|
736
|
+
const _CV = "CodeVerifier";
|
|
737
|
+
const _ETE = "ExpiredTokenException";
|
|
738
|
+
const _ICE = "InvalidClientException";
|
|
739
|
+
const _IGE = "InvalidGrantException";
|
|
740
|
+
const _IRE = "InvalidRequestException";
|
|
741
|
+
const _ISE = "InternalServerException";
|
|
742
|
+
const _ISEn = "InvalidScopeException";
|
|
743
|
+
const _IT = "IdToken";
|
|
744
|
+
const _RT = "RefreshToken";
|
|
745
|
+
const _SDE = "SlowDownException";
|
|
746
|
+
const _UCE = "UnauthorizedClientException";
|
|
747
|
+
const _UGTE = "UnsupportedGrantTypeException";
|
|
748
|
+
const _aT = "accessToken";
|
|
749
|
+
const _c = "client";
|
|
750
|
+
const _cI = "clientId";
|
|
751
|
+
const _cS = "clientSecret";
|
|
752
|
+
const _cV = "codeVerifier";
|
|
753
|
+
const _co = "code";
|
|
754
|
+
const _dC = "deviceCode";
|
|
755
|
+
const _e = "error";
|
|
756
|
+
const _eI = "expiresIn";
|
|
757
|
+
const _ed = "error_description";
|
|
758
|
+
const _gT = "grantType";
|
|
759
|
+
const _h = "http";
|
|
760
|
+
const _hE = "httpError";
|
|
761
|
+
const _iT = "idToken";
|
|
762
|
+
const _r = "reason";
|
|
763
|
+
const _rT = "refreshToken";
|
|
764
|
+
const _rU = "redirectUri";
|
|
765
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.ssooidc";
|
|
766
|
+
const _sc = "scope";
|
|
767
|
+
const _se = "server";
|
|
768
|
+
const _tT = "tokenType";
|
|
769
|
+
const n0 = "com.amazonaws.ssooidc";
|
|
770
|
+
const schema_1 = __webpack_require__(26890);
|
|
771
|
+
const errors_1 = __webpack_require__(55843);
|
|
772
|
+
const SSOOIDCServiceException_1 = __webpack_require__(93952);
|
|
773
|
+
const _s_registry = schema_1.TypeRegistry.for(_s);
|
|
774
|
+
exports.SSOOIDCServiceException$ = [-3, _s, "SSOOIDCServiceException", 0, [], []];
|
|
775
|
+
_s_registry.registerError(exports.SSOOIDCServiceException$, SSOOIDCServiceException_1.SSOOIDCServiceException);
|
|
776
|
+
const n0_registry = schema_1.TypeRegistry.for(n0);
|
|
777
|
+
exports.AccessDeniedException$ = [
|
|
778
|
+
-3,
|
|
779
|
+
n0,
|
|
780
|
+
_ADE,
|
|
781
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
782
|
+
[_e, _r, _ed],
|
|
783
|
+
[0, 0, 0],
|
|
784
|
+
];
|
|
785
|
+
n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
|
|
786
|
+
exports.AuthorizationPendingException$ = [
|
|
787
|
+
-3,
|
|
788
|
+
n0,
|
|
789
|
+
_APE,
|
|
790
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
791
|
+
[_e, _ed],
|
|
792
|
+
[0, 0],
|
|
793
|
+
];
|
|
794
|
+
n0_registry.registerError(exports.AuthorizationPendingException$, errors_1.AuthorizationPendingException);
|
|
795
|
+
exports.ExpiredTokenException$ = [-3, n0, _ETE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
|
|
796
|
+
n0_registry.registerError(exports.ExpiredTokenException$, errors_1.ExpiredTokenException);
|
|
797
|
+
exports.InternalServerException$ = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_e, _ed], [0, 0]];
|
|
798
|
+
n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
|
|
799
|
+
exports.InvalidClientException$ = [-3, n0, _ICE, { [_e]: _c, [_hE]: 401 }, [_e, _ed], [0, 0]];
|
|
800
|
+
n0_registry.registerError(exports.InvalidClientException$, errors_1.InvalidClientException);
|
|
801
|
+
exports.InvalidGrantException$ = [-3, n0, _IGE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
|
|
802
|
+
n0_registry.registerError(exports.InvalidGrantException$, errors_1.InvalidGrantException);
|
|
803
|
+
exports.InvalidRequestException$ = [
|
|
804
|
+
-3,
|
|
805
|
+
n0,
|
|
806
|
+
_IRE,
|
|
807
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
808
|
+
[_e, _r, _ed],
|
|
809
|
+
[0, 0, 0],
|
|
810
|
+
];
|
|
811
|
+
n0_registry.registerError(exports.InvalidRequestException$, errors_1.InvalidRequestException);
|
|
812
|
+
exports.InvalidScopeException$ = [-3, n0, _ISEn, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
|
|
813
|
+
n0_registry.registerError(exports.InvalidScopeException$, errors_1.InvalidScopeException);
|
|
814
|
+
exports.SlowDownException$ = [-3, n0, _SDE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
|
|
815
|
+
n0_registry.registerError(exports.SlowDownException$, errors_1.SlowDownException);
|
|
816
|
+
exports.UnauthorizedClientException$ = [
|
|
817
|
+
-3,
|
|
818
|
+
n0,
|
|
819
|
+
_UCE,
|
|
820
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
821
|
+
[_e, _ed],
|
|
822
|
+
[0, 0],
|
|
823
|
+
];
|
|
824
|
+
n0_registry.registerError(exports.UnauthorizedClientException$, errors_1.UnauthorizedClientException);
|
|
825
|
+
exports.UnsupportedGrantTypeException$ = [
|
|
826
|
+
-3,
|
|
827
|
+
n0,
|
|
828
|
+
_UGTE,
|
|
829
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
830
|
+
[_e, _ed],
|
|
831
|
+
[0, 0],
|
|
832
|
+
];
|
|
833
|
+
n0_registry.registerError(exports.UnsupportedGrantTypeException$, errors_1.UnsupportedGrantTypeException);
|
|
834
|
+
exports.errorTypeRegistries = [_s_registry, n0_registry];
|
|
835
|
+
var AccessToken = [0, n0, _AT, 8, 0];
|
|
836
|
+
var ClientSecret = [0, n0, _CS, 8, 0];
|
|
837
|
+
var CodeVerifier = [0, n0, _CV, 8, 0];
|
|
838
|
+
var IdToken = [0, n0, _IT, 8, 0];
|
|
839
|
+
var RefreshToken = [0, n0, _RT, 8, 0];
|
|
840
|
+
exports.CreateTokenRequest$ = [
|
|
841
|
+
3,
|
|
842
|
+
n0,
|
|
843
|
+
_CTR,
|
|
844
|
+
0,
|
|
845
|
+
[_cI, _cS, _gT, _dC, _co, _rT, _sc, _rU, _cV],
|
|
846
|
+
[0, [() => ClientSecret, 0], 0, 0, 0, [() => RefreshToken, 0], 64 | 0, 0, [() => CodeVerifier, 0]],
|
|
847
|
+
3,
|
|
848
|
+
];
|
|
849
|
+
exports.CreateTokenResponse$ = [
|
|
850
|
+
3,
|
|
851
|
+
n0,
|
|
852
|
+
_CTRr,
|
|
853
|
+
0,
|
|
854
|
+
[_aT, _tT, _eI, _rT, _iT],
|
|
855
|
+
[[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0]],
|
|
856
|
+
];
|
|
857
|
+
var Scopes = (/* unused pure expression or super */ null && (64 | 0));
|
|
858
|
+
exports.CreateToken$ = [
|
|
859
|
+
9,
|
|
860
|
+
n0,
|
|
861
|
+
_CT,
|
|
862
|
+
{ [_h]: ["POST", "/token", 200] },
|
|
863
|
+
() => exports.CreateTokenRequest$,
|
|
864
|
+
() => exports.CreateTokenResponse$,
|
|
865
|
+
];
|
|
730
866
|
|
|
731
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@aws-sdk/nested-clients","version":"3.968.0","description":"Nested clients for AWS SDK packages.","main":"./dist-cjs/index.js","module":"./dist-es/index.js","types":"./dist-types/index.d.ts","scripts":{"build":"yarn lint && concurrently \'yarn:build:types\' \'yarn:build:es\' && yarn build:cjs","build:cjs":"node ../../scripts/compilation/inline nested-clients","build:es":"tsc -p tsconfig.es.json","build:include:deps":"yarn g:turbo run build -F=\\"$npm_package_name\\"","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo","lint":"node ../../scripts/validation/submodules-linter.js --pkg nested-clients","test":"yarn g:vitest run","test:watch":"yarn g:vitest watch"},"engines":{"node":">=20.0.0"},"sideEffects":false,"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","dependencies":{"@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/core":"3.968.0","@aws-sdk/middleware-host-header":"3.968.0","@aws-sdk/middleware-logger":"3.968.0","@aws-sdk/middleware-recursion-detection":"3.968.0","@aws-sdk/middleware-user-agent":"3.968.0","@aws-sdk/region-config-resolver":"3.968.0","@aws-sdk/types":"3.968.0","@aws-sdk/util-endpoints":"3.968.0","@aws-sdk/util-user-agent-browser":"3.968.0","@aws-sdk/util-user-agent-node":"3.968.0","@smithy/config-resolver":"^4.4.5","@smithy/core":"^3.20.3","@smithy/fetch-http-handler":"^5.3.8","@smithy/hash-node":"^4.2.7","@smithy/invalid-dependency":"^4.2.7","@smithy/middleware-content-length":"^4.2.7","@smithy/middleware-endpoint":"^4.4.4","@smithy/middleware-retry":"^4.4.20","@smithy/middleware-serde":"^4.2.8","@smithy/middleware-stack":"^4.2.7","@smithy/node-config-provider":"^4.3.7","@smithy/node-http-handler":"^4.4.7","@smithy/protocol-http":"^5.3.7","@smithy/smithy-client":"^4.10.5","@smithy/types":"^4.11.0","@smithy/url-parser":"^4.2.7","@smithy/util-base64":"^4.3.0","@smithy/util-body-length-browser":"^4.2.0","@smithy/util-body-length-node":"^4.2.1","@smithy/util-defaults-mode-browser":"^4.3.19","@smithy/util-defaults-mode-node":"^4.2.22","@smithy/util-endpoints":"^3.2.7","@smithy/util-middleware":"^4.2.7","@smithy/util-retry":"^4.2.7","@smithy/util-utf8":"^4.2.0","tslib":"^2.6.2"},"devDependencies":{"concurrently":"7.0.0","downlevel-dts":"0.10.1","rimraf":"5.0.10","typescript":"~5.8.3"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"files":["./signin.d.ts","./signin.js","./sso-oidc.d.ts","./sso-oidc.js","./sts.d.ts","./sts.js","dist-*/**"],"browser":{"./dist-es/submodules/signin/runtimeConfig":"./dist-es/submodules/signin/runtimeConfig.browser","./dist-es/submodules/sso-oidc/runtimeConfig":"./dist-es/submodules/sso-oidc/runtimeConfig.browser","./dist-es/submodules/sts/runtimeConfig":"./dist-es/submodules/sts/runtimeConfig.browser"},"react-native":{},"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"packages/nested-clients"},"exports":{"./package.json":"./package.json","./sso-oidc":{"types":"./dist-types/submodules/sso-oidc/index.d.ts","module":"./dist-es/submodules/sso-oidc/index.js","node":"./dist-cjs/submodules/sso-oidc/index.js","import":"./dist-es/submodules/sso-oidc/index.js","require":"./dist-cjs/submodules/sso-oidc/index.js"},"./sts":{"types":"./dist-types/submodules/sts/index.d.ts","module":"./dist-es/submodules/sts/index.js","node":"./dist-cjs/submodules/sts/index.js","import":"./dist-es/submodules/sts/index.js","require":"./dist-cjs/submodules/sts/index.js"},"./signin":{"types":"./dist-types/submodules/signin/index.d.ts","module":"./dist-es/submodules/signin/index.js","node":"./dist-cjs/submodules/signin/index.js","import":"./dist-es/submodules/signin/index.js","require":"./dist-cjs/submodules/signin/index.js"}}}');
|
|
732
867
|
|
|
733
868
|
/***/ })
|
|
734
869
|
|