monorise 1.1.0-dev.2 → 1.1.0-dev.3
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/base/index.d.ts +53 -1
- package/dist/base/index.js +49 -1
- package/dist/base/index.js.map +1 -1
- package/dist/core/index.d.ts +3 -53
- package/dist/core/index.js +1 -1
- package/dist/core/index.js.map +1 -1
- package/dist/react/{chunk-DTRWUIDH.js → chunk-BIXAYYE4.js} +35 -5
- package/dist/react/{chunk-DTRWUIDH.js.map → chunk-BIXAYYE4.js.map} +1 -1
- package/dist/react/index.d.ts +1 -1
- package/dist/react/index.js +143 -10403
- package/dist/react/index.js.map +1 -1
- package/dist/react/websocket-7MZ3ENOC.js +9 -0
- package/package.json +2 -2
- package/dist/react/chunk-2QOYO3GF.js +0 -182
- package/dist/react/chunk-2QOYO3GF.js.map +0 -1
- package/dist/react/chunk-4WSYM746.js +0 -383
- package/dist/react/chunk-4WSYM746.js.map +0 -1
- package/dist/react/chunk-5XIRNUBL.js +0 -43
- package/dist/react/chunk-5XIRNUBL.js.map +0 -1
- package/dist/react/chunk-7JDOKZGQ.js +0 -172
- package/dist/react/chunk-7JDOKZGQ.js.map +0 -1
- package/dist/react/chunk-A5TI2FW3.js +0 -13
- package/dist/react/chunk-A5TI2FW3.js.map +0 -1
- package/dist/react/chunk-BJXCFDMF.js +0 -15
- package/dist/react/chunk-BJXCFDMF.js.map +0 -1
- package/dist/react/chunk-BUTF5RJU.js +0 -29
- package/dist/react/chunk-BUTF5RJU.js.map +0 -1
- package/dist/react/chunk-GFVCNWVT.js +0 -54
- package/dist/react/chunk-GFVCNWVT.js.map +0 -1
- package/dist/react/chunk-JT5EZZSL.js +0 -489
- package/dist/react/chunk-JT5EZZSL.js.map +0 -1
- package/dist/react/chunk-KJX5LOMN.js +0 -43
- package/dist/react/chunk-KJX5LOMN.js.map +0 -1
- package/dist/react/chunk-KLXK4V6G.js +0 -65
- package/dist/react/chunk-KLXK4V6G.js.map +0 -1
- package/dist/react/chunk-LJLMKEKI.js +0 -245
- package/dist/react/chunk-LJLMKEKI.js.map +0 -1
- package/dist/react/chunk-MIXAYX55.js +0 -147
- package/dist/react/chunk-RPNCWADG.js +0 -248
- package/dist/react/chunk-RPNCWADG.js.map +0 -1
- package/dist/react/chunk-S6RDMHHH.js +0 -47
- package/dist/react/chunk-S6RDMHHH.js.map +0 -1
- package/dist/react/chunk-U6RIOMF4.js +0 -893
- package/dist/react/chunk-U6RIOMF4.js.map +0 -1
- package/dist/react/chunk-WCRLJFBW.js +0 -5568
- package/dist/react/chunk-WCRLJFBW.js.map +0 -1
- package/dist/react/chunk-YF6S7S36.js +0 -588
- package/dist/react/chunk-YF6S7S36.js.map +0 -1
- package/dist/react/dist-es-5WYA7CWK.js +0 -379
- package/dist/react/dist-es-5WYA7CWK.js.map +0 -1
- package/dist/react/dist-es-CR5AOOCO.js +0 -333
- package/dist/react/dist-es-CR5AOOCO.js.map +0 -1
- package/dist/react/dist-es-KZ3GLAJI.js +0 -494
- package/dist/react/dist-es-KZ3GLAJI.js.map +0 -1
- package/dist/react/dist-es-R4TRTT45.js +0 -22
- package/dist/react/dist-es-R4TRTT45.js.map +0 -1
- package/dist/react/dist-es-SKDPAJEW.js +0 -169
- package/dist/react/dist-es-SKDPAJEW.js.map +0 -1
- package/dist/react/dist-es-TOHBZNTZ.js +0 -71
- package/dist/react/dist-es-TOHBZNTZ.js.map +0 -1
- package/dist/react/dist-es-XNAC47MK.js +0 -90
- package/dist/react/dist-es-XNAC47MK.js.map +0 -1
- package/dist/react/event-streams-WAZW4P3K.js +0 -277
- package/dist/react/event-streams-WAZW4P3K.js.map +0 -1
- package/dist/react/loadSso-KXVD6CBM.js +0 -556
- package/dist/react/loadSso-KXVD6CBM.js.map +0 -1
- package/dist/react/service.config-I7RKP6FE.js +0 -14
- package/dist/react/service.config-I7RKP6FE.js.map +0 -1
- package/dist/react/signin-SEY3FDQ5.js +0 -653
- package/dist/react/signin-SEY3FDQ5.js.map +0 -1
- package/dist/react/sso-oidc-REODVHH5.js +0 -786
- package/dist/react/sso-oidc-REODVHH5.js.map +0 -1
- package/dist/react/sts-I3M4QP37.js +0 -3948
- package/dist/react/sts-I3M4QP37.js.map +0 -1
- package/dist/react/websocket-OSLLJSNO.js +0 -10
- package/dist/react/websocket-OSLLJSNO.js.map +0 -1
- /package/dist/react/{chunk-MIXAYX55.js.map → websocket-7MZ3ENOC.js.map} +0 -0
|
@@ -1,653 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
createAggregatedClient
|
|
3
|
-
} from "./chunk-GFVCNWVT.js";
|
|
4
|
-
import {
|
|
5
|
-
AwsRestJsonProtocol
|
|
6
|
-
} from "./chunk-YF6S7S36.js";
|
|
7
|
-
import {
|
|
8
|
-
package_default
|
|
9
|
-
} from "./chunk-4WSYM746.js";
|
|
10
|
-
import "./chunk-JT5EZZSL.js";
|
|
11
|
-
import {
|
|
12
|
-
AwsSdkSigV4Signer,
|
|
13
|
-
BinaryDecisionDiagram,
|
|
14
|
-
Client,
|
|
15
|
-
Command,
|
|
16
|
-
DEFAULT_RETRY_MODE,
|
|
17
|
-
DefaultIdentityProviderConfig,
|
|
18
|
-
EndpointCache,
|
|
19
|
-
Hash,
|
|
20
|
-
NODE_APP_ID_CONFIG_OPTIONS,
|
|
21
|
-
NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,
|
|
22
|
-
NODE_MAX_ATTEMPT_CONFIG_OPTIONS,
|
|
23
|
-
NODE_REGION_CONFIG_FILE_OPTIONS,
|
|
24
|
-
NODE_REGION_CONFIG_OPTIONS,
|
|
25
|
-
NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
26
|
-
NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,
|
|
27
|
-
NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,
|
|
28
|
-
NoAuthSigner,
|
|
29
|
-
NoOpLogger,
|
|
30
|
-
ServiceException,
|
|
31
|
-
TypeRegistry,
|
|
32
|
-
awsEndpointFunctions,
|
|
33
|
-
calculateBodyLength,
|
|
34
|
-
createDefaultUserAgentProvider,
|
|
35
|
-
customEndpointFunctions,
|
|
36
|
-
decideEndpoint,
|
|
37
|
-
emitWarningIfUnsupportedVersion,
|
|
38
|
-
emitWarningIfUnsupportedVersion2,
|
|
39
|
-
getAwsRegionExtensionConfiguration,
|
|
40
|
-
getContentLengthPlugin,
|
|
41
|
-
getDefaultExtensionConfiguration,
|
|
42
|
-
getEndpointPlugin,
|
|
43
|
-
getHostHeaderPlugin,
|
|
44
|
-
getHttpAuthSchemeEndpointRuleSetPlugin,
|
|
45
|
-
getHttpHandlerExtensionConfiguration,
|
|
46
|
-
getHttpSigningPlugin,
|
|
47
|
-
getLoggerPlugin,
|
|
48
|
-
getRecursionDetectionPlugin,
|
|
49
|
-
getRetryPlugin,
|
|
50
|
-
getSchemaSerdePlugin,
|
|
51
|
-
getSmithyContext,
|
|
52
|
-
getUserAgentPlugin,
|
|
53
|
-
loadConfigsForDefaultMode,
|
|
54
|
-
normalizeProvider,
|
|
55
|
-
resolveAwsRegionExtensionConfiguration,
|
|
56
|
-
resolveAwsSdkSigV4Config,
|
|
57
|
-
resolveDefaultRuntimeConfig,
|
|
58
|
-
resolveDefaultsModeConfig,
|
|
59
|
-
resolveEndpointConfig,
|
|
60
|
-
resolveHostHeaderConfig,
|
|
61
|
-
resolveHttpHandlerRuntimeConfig,
|
|
62
|
-
resolveRegionConfig,
|
|
63
|
-
resolveRetryConfig,
|
|
64
|
-
resolveUserAgentConfig
|
|
65
|
-
} from "./chunk-WCRLJFBW.js";
|
|
66
|
-
import {
|
|
67
|
-
loadConfig,
|
|
68
|
-
parseUrl
|
|
69
|
-
} from "./chunk-7JDOKZGQ.js";
|
|
70
|
-
import "./chunk-BUTF5RJU.js";
|
|
71
|
-
import "./chunk-RPNCWADG.js";
|
|
72
|
-
import "./chunk-2QOYO3GF.js";
|
|
73
|
-
import {
|
|
74
|
-
NodeHttpHandler,
|
|
75
|
-
fromBase64,
|
|
76
|
-
streamCollector,
|
|
77
|
-
toBase64
|
|
78
|
-
} from "./chunk-U6RIOMF4.js";
|
|
79
|
-
import "./chunk-KLXK4V6G.js";
|
|
80
|
-
import {
|
|
81
|
-
fromUtf8,
|
|
82
|
-
toUtf8
|
|
83
|
-
} from "./chunk-KJX5LOMN.js";
|
|
84
|
-
import "./chunk-A5TI2FW3.js";
|
|
85
|
-
import "./chunk-5XIRNUBL.js";
|
|
86
|
-
import {
|
|
87
|
-
__publicField,
|
|
88
|
-
__spreadProps,
|
|
89
|
-
__spreadValues
|
|
90
|
-
} from "./chunk-MIXAYX55.js";
|
|
91
|
-
|
|
92
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js
|
|
93
|
-
var defaultSigninHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
94
|
-
return {
|
|
95
|
-
operation: getSmithyContext(context).operation,
|
|
96
|
-
region: await normalizeProvider(config.region)() || (() => {
|
|
97
|
-
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
98
|
-
})()
|
|
99
|
-
};
|
|
100
|
-
};
|
|
101
|
-
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
102
|
-
return {
|
|
103
|
-
schemeId: "aws.auth#sigv4",
|
|
104
|
-
signingProperties: {
|
|
105
|
-
name: "signin",
|
|
106
|
-
region: authParameters.region
|
|
107
|
-
},
|
|
108
|
-
propertiesExtractor: (config, context) => ({
|
|
109
|
-
signingProperties: {
|
|
110
|
-
config,
|
|
111
|
-
context
|
|
112
|
-
}
|
|
113
|
-
})
|
|
114
|
-
};
|
|
115
|
-
}
|
|
116
|
-
function createSmithyApiNoAuthHttpAuthOption(authParameters) {
|
|
117
|
-
return {
|
|
118
|
-
schemeId: "smithy.api#noAuth"
|
|
119
|
-
};
|
|
120
|
-
}
|
|
121
|
-
var defaultSigninHttpAuthSchemeProvider = (authParameters) => {
|
|
122
|
-
const options = [];
|
|
123
|
-
switch (authParameters.operation) {
|
|
124
|
-
case "CreateOAuth2Token": {
|
|
125
|
-
options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
|
|
126
|
-
break;
|
|
127
|
-
}
|
|
128
|
-
default: {
|
|
129
|
-
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
return options;
|
|
133
|
-
};
|
|
134
|
-
var resolveHttpAuthSchemeConfig = (config) => {
|
|
135
|
-
var _a;
|
|
136
|
-
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
137
|
-
return Object.assign(config_0, {
|
|
138
|
-
authSchemePreference: normalizeProvider((_a = config.authSchemePreference) != null ? _a : [])
|
|
139
|
-
});
|
|
140
|
-
};
|
|
141
|
-
|
|
142
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/EndpointParameters.js
|
|
143
|
-
var resolveClientEndpointParameters = (options) => {
|
|
144
|
-
var _a, _b;
|
|
145
|
-
return Object.assign(options, {
|
|
146
|
-
useDualstackEndpoint: (_a = options.useDualstackEndpoint) != null ? _a : false,
|
|
147
|
-
useFipsEndpoint: (_b = options.useFipsEndpoint) != null ? _b : false,
|
|
148
|
-
defaultSigningName: "signin"
|
|
149
|
-
});
|
|
150
|
-
};
|
|
151
|
-
var commonParams = {
|
|
152
|
-
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
153
|
-
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
154
|
-
Region: { type: "builtInParams", name: "region" },
|
|
155
|
-
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
156
|
-
};
|
|
157
|
-
|
|
158
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js
|
|
159
|
-
var m = "ref";
|
|
160
|
-
var a = -1;
|
|
161
|
-
var b = true;
|
|
162
|
-
var c = "isSet";
|
|
163
|
-
var d = "PartitionResult";
|
|
164
|
-
var e = "booleanEquals";
|
|
165
|
-
var f = "getAttr";
|
|
166
|
-
var g = "stringEquals";
|
|
167
|
-
var h = { [m]: "Endpoint" };
|
|
168
|
-
var i = { [m]: d };
|
|
169
|
-
var j = { fn: f, argv: [i, "name"] };
|
|
170
|
-
var k = {};
|
|
171
|
-
var l = [{ [m]: "Region" }];
|
|
172
|
-
var _data = {
|
|
173
|
-
conditions: [
|
|
174
|
-
[c, [h]],
|
|
175
|
-
[c, l],
|
|
176
|
-
["aws.partition", l, d],
|
|
177
|
-
[e, [{ [m]: "UseFIPS" }, b]],
|
|
178
|
-
[e, [{ [m]: "UseDualStack" }, b]],
|
|
179
|
-
[e, [{ fn: f, argv: [i, "supportsDualStack"] }, b]],
|
|
180
|
-
[e, [{ fn: f, argv: [i, "supportsFIPS"] }, b]],
|
|
181
|
-
[g, [j, "aws"]],
|
|
182
|
-
[g, [j, "aws-cn"]],
|
|
183
|
-
[g, [j, "aws-us-gov"]]
|
|
184
|
-
],
|
|
185
|
-
results: [
|
|
186
|
-
[a],
|
|
187
|
-
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
188
|
-
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
189
|
-
[h, k],
|
|
190
|
-
["https://{Region}.signin.aws.amazon.com", k],
|
|
191
|
-
["https://{Region}.signin.amazonaws.cn", k],
|
|
192
|
-
["https://{Region}.signin.amazonaws-us-gov.com", k],
|
|
193
|
-
["https://signin-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
|
|
194
|
-
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
195
|
-
["https://signin-fips.{Region}.{PartitionResult#dnsSuffix}", k],
|
|
196
|
-
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
197
|
-
["https://signin.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
|
|
198
|
-
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
199
|
-
["https://signin.{Region}.{PartitionResult#dnsSuffix}", k],
|
|
200
|
-
[a, "Invalid Configuration: Missing Region"]
|
|
201
|
-
]
|
|
202
|
-
};
|
|
203
|
-
var root = 2;
|
|
204
|
-
var r = 1e8;
|
|
205
|
-
var nodes = new Int32Array([
|
|
206
|
-
-1,
|
|
207
|
-
1,
|
|
208
|
-
-1,
|
|
209
|
-
0,
|
|
210
|
-
15,
|
|
211
|
-
3,
|
|
212
|
-
1,
|
|
213
|
-
4,
|
|
214
|
-
r + 14,
|
|
215
|
-
2,
|
|
216
|
-
5,
|
|
217
|
-
r + 14,
|
|
218
|
-
3,
|
|
219
|
-
11,
|
|
220
|
-
6,
|
|
221
|
-
4,
|
|
222
|
-
10,
|
|
223
|
-
7,
|
|
224
|
-
7,
|
|
225
|
-
r + 4,
|
|
226
|
-
8,
|
|
227
|
-
8,
|
|
228
|
-
r + 5,
|
|
229
|
-
9,
|
|
230
|
-
9,
|
|
231
|
-
r + 6,
|
|
232
|
-
r + 13,
|
|
233
|
-
5,
|
|
234
|
-
r + 11,
|
|
235
|
-
r + 12,
|
|
236
|
-
4,
|
|
237
|
-
13,
|
|
238
|
-
12,
|
|
239
|
-
6,
|
|
240
|
-
r + 9,
|
|
241
|
-
r + 10,
|
|
242
|
-
5,
|
|
243
|
-
14,
|
|
244
|
-
r + 8,
|
|
245
|
-
6,
|
|
246
|
-
r + 7,
|
|
247
|
-
r + 8,
|
|
248
|
-
3,
|
|
249
|
-
r + 1,
|
|
250
|
-
16,
|
|
251
|
-
4,
|
|
252
|
-
r + 2,
|
|
253
|
-
r + 3
|
|
254
|
-
]);
|
|
255
|
-
var bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
256
|
-
|
|
257
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js
|
|
258
|
-
var cache = new EndpointCache({
|
|
259
|
-
size: 50,
|
|
260
|
-
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"]
|
|
261
|
-
});
|
|
262
|
-
var defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
263
|
-
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
264
|
-
endpointParams,
|
|
265
|
-
logger: context.logger
|
|
266
|
-
}));
|
|
267
|
-
};
|
|
268
|
-
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
269
|
-
|
|
270
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/SigninServiceException.js
|
|
271
|
-
var SigninServiceException = class _SigninServiceException extends ServiceException {
|
|
272
|
-
constructor(options) {
|
|
273
|
-
super(options);
|
|
274
|
-
Object.setPrototypeOf(this, _SigninServiceException.prototype);
|
|
275
|
-
}
|
|
276
|
-
};
|
|
277
|
-
|
|
278
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/errors.js
|
|
279
|
-
var AccessDeniedException = class _AccessDeniedException extends SigninServiceException {
|
|
280
|
-
constructor(opts) {
|
|
281
|
-
super(__spreadValues({
|
|
282
|
-
name: "AccessDeniedException",
|
|
283
|
-
$fault: "client"
|
|
284
|
-
}, opts));
|
|
285
|
-
__publicField(this, "name", "AccessDeniedException");
|
|
286
|
-
__publicField(this, "$fault", "client");
|
|
287
|
-
__publicField(this, "error");
|
|
288
|
-
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
289
|
-
this.error = opts.error;
|
|
290
|
-
}
|
|
291
|
-
};
|
|
292
|
-
var InternalServerException = class _InternalServerException extends SigninServiceException {
|
|
293
|
-
constructor(opts) {
|
|
294
|
-
super(__spreadValues({
|
|
295
|
-
name: "InternalServerException",
|
|
296
|
-
$fault: "server"
|
|
297
|
-
}, opts));
|
|
298
|
-
__publicField(this, "name", "InternalServerException");
|
|
299
|
-
__publicField(this, "$fault", "server");
|
|
300
|
-
__publicField(this, "error");
|
|
301
|
-
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
302
|
-
this.error = opts.error;
|
|
303
|
-
}
|
|
304
|
-
};
|
|
305
|
-
var TooManyRequestsError = class _TooManyRequestsError extends SigninServiceException {
|
|
306
|
-
constructor(opts) {
|
|
307
|
-
super(__spreadValues({
|
|
308
|
-
name: "TooManyRequestsError",
|
|
309
|
-
$fault: "client"
|
|
310
|
-
}, opts));
|
|
311
|
-
__publicField(this, "name", "TooManyRequestsError");
|
|
312
|
-
__publicField(this, "$fault", "client");
|
|
313
|
-
__publicField(this, "error");
|
|
314
|
-
Object.setPrototypeOf(this, _TooManyRequestsError.prototype);
|
|
315
|
-
this.error = opts.error;
|
|
316
|
-
}
|
|
317
|
-
};
|
|
318
|
-
var ValidationException = class _ValidationException extends SigninServiceException {
|
|
319
|
-
constructor(opts) {
|
|
320
|
-
super(__spreadValues({
|
|
321
|
-
name: "ValidationException",
|
|
322
|
-
$fault: "client"
|
|
323
|
-
}, opts));
|
|
324
|
-
__publicField(this, "name", "ValidationException");
|
|
325
|
-
__publicField(this, "$fault", "client");
|
|
326
|
-
__publicField(this, "error");
|
|
327
|
-
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
328
|
-
this.error = opts.error;
|
|
329
|
-
}
|
|
330
|
-
};
|
|
331
|
-
|
|
332
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js
|
|
333
|
-
var _ADE = "AccessDeniedException";
|
|
334
|
-
var _AT = "AccessToken";
|
|
335
|
-
var _COAT = "CreateOAuth2Token";
|
|
336
|
-
var _COATR = "CreateOAuth2TokenRequest";
|
|
337
|
-
var _COATRB = "CreateOAuth2TokenRequestBody";
|
|
338
|
-
var _COATRBr = "CreateOAuth2TokenResponseBody";
|
|
339
|
-
var _COATRr = "CreateOAuth2TokenResponse";
|
|
340
|
-
var _ISE = "InternalServerException";
|
|
341
|
-
var _RT = "RefreshToken";
|
|
342
|
-
var _TMRE = "TooManyRequestsError";
|
|
343
|
-
var _VE = "ValidationException";
|
|
344
|
-
var _aKI = "accessKeyId";
|
|
345
|
-
var _aT = "accessToken";
|
|
346
|
-
var _c = "client";
|
|
347
|
-
var _cI = "clientId";
|
|
348
|
-
var _cV = "codeVerifier";
|
|
349
|
-
var _co = "code";
|
|
350
|
-
var _e = "error";
|
|
351
|
-
var _eI = "expiresIn";
|
|
352
|
-
var _gT = "grantType";
|
|
353
|
-
var _h = "http";
|
|
354
|
-
var _hE = "httpError";
|
|
355
|
-
var _iT = "idToken";
|
|
356
|
-
var _jN = "jsonName";
|
|
357
|
-
var _m = "message";
|
|
358
|
-
var _rT = "refreshToken";
|
|
359
|
-
var _rU = "redirectUri";
|
|
360
|
-
var _s = "smithy.ts.sdk.synthetic.com.amazonaws.signin";
|
|
361
|
-
var _sAK = "secretAccessKey";
|
|
362
|
-
var _sT = "sessionToken";
|
|
363
|
-
var _se = "server";
|
|
364
|
-
var _tI = "tokenInput";
|
|
365
|
-
var _tO = "tokenOutput";
|
|
366
|
-
var _tT = "tokenType";
|
|
367
|
-
var n0 = "com.amazonaws.signin";
|
|
368
|
-
var _s_registry = TypeRegistry.for(_s);
|
|
369
|
-
var SigninServiceException$ = [-3, _s, "SigninServiceException", 0, [], []];
|
|
370
|
-
_s_registry.registerError(SigninServiceException$, SigninServiceException);
|
|
371
|
-
var n0_registry = TypeRegistry.for(n0);
|
|
372
|
-
var AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c }, [_e, _m], [0, 0], 2];
|
|
373
|
-
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
374
|
-
var InternalServerException$ = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_e, _m], [0, 0], 2];
|
|
375
|
-
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
376
|
-
var TooManyRequestsError$ = [-3, n0, _TMRE, { [_e]: _c, [_hE]: 429 }, [_e, _m], [0, 0], 2];
|
|
377
|
-
n0_registry.registerError(TooManyRequestsError$, TooManyRequestsError);
|
|
378
|
-
var ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_e, _m], [0, 0], 2];
|
|
379
|
-
n0_registry.registerError(ValidationException$, ValidationException);
|
|
380
|
-
var errorTypeRegistries = [_s_registry, n0_registry];
|
|
381
|
-
var RefreshToken = [0, n0, _RT, 8, 0];
|
|
382
|
-
var AccessToken$ = [
|
|
383
|
-
3,
|
|
384
|
-
n0,
|
|
385
|
-
_AT,
|
|
386
|
-
8,
|
|
387
|
-
[_aKI, _sAK, _sT],
|
|
388
|
-
[
|
|
389
|
-
[0, { [_jN]: _aKI }],
|
|
390
|
-
[0, { [_jN]: _sAK }],
|
|
391
|
-
[0, { [_jN]: _sT }]
|
|
392
|
-
],
|
|
393
|
-
3
|
|
394
|
-
];
|
|
395
|
-
var CreateOAuth2TokenRequest$ = [
|
|
396
|
-
3,
|
|
397
|
-
n0,
|
|
398
|
-
_COATR,
|
|
399
|
-
0,
|
|
400
|
-
[_tI],
|
|
401
|
-
[[() => CreateOAuth2TokenRequestBody$, 16]],
|
|
402
|
-
1
|
|
403
|
-
];
|
|
404
|
-
var CreateOAuth2TokenRequestBody$ = [
|
|
405
|
-
3,
|
|
406
|
-
n0,
|
|
407
|
-
_COATRB,
|
|
408
|
-
0,
|
|
409
|
-
[_cI, _gT, _co, _rU, _cV, _rT],
|
|
410
|
-
[
|
|
411
|
-
[0, { [_jN]: _cI }],
|
|
412
|
-
[0, { [_jN]: _gT }],
|
|
413
|
-
0,
|
|
414
|
-
[0, { [_jN]: _rU }],
|
|
415
|
-
[0, { [_jN]: _cV }],
|
|
416
|
-
[() => RefreshToken, { [_jN]: _rT }]
|
|
417
|
-
],
|
|
418
|
-
2
|
|
419
|
-
];
|
|
420
|
-
var CreateOAuth2TokenResponse$ = [
|
|
421
|
-
3,
|
|
422
|
-
n0,
|
|
423
|
-
_COATRr,
|
|
424
|
-
0,
|
|
425
|
-
[_tO],
|
|
426
|
-
[[() => CreateOAuth2TokenResponseBody$, 16]],
|
|
427
|
-
1
|
|
428
|
-
];
|
|
429
|
-
var CreateOAuth2TokenResponseBody$ = [
|
|
430
|
-
3,
|
|
431
|
-
n0,
|
|
432
|
-
_COATRBr,
|
|
433
|
-
0,
|
|
434
|
-
[_aT, _tT, _eI, _rT, _iT],
|
|
435
|
-
[
|
|
436
|
-
[() => AccessToken$, { [_jN]: _aT }],
|
|
437
|
-
[0, { [_jN]: _tT }],
|
|
438
|
-
[1, { [_jN]: _eI }],
|
|
439
|
-
[() => RefreshToken, { [_jN]: _rT }],
|
|
440
|
-
[0, { [_jN]: _iT }]
|
|
441
|
-
],
|
|
442
|
-
4
|
|
443
|
-
];
|
|
444
|
-
var CreateOAuth2Token$ = [
|
|
445
|
-
9,
|
|
446
|
-
n0,
|
|
447
|
-
_COAT,
|
|
448
|
-
{ [_h]: ["POST", "/v1/token", 200] },
|
|
449
|
-
() => CreateOAuth2TokenRequest$,
|
|
450
|
-
() => CreateOAuth2TokenResponse$
|
|
451
|
-
];
|
|
452
|
-
|
|
453
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js
|
|
454
|
-
var getRuntimeConfig = (config) => {
|
|
455
|
-
var _a, _b, _c2, _d, _e2, _f, _g, _h2, _i, _j, _k, _l, _m2, _n;
|
|
456
|
-
return {
|
|
457
|
-
apiVersion: "2023-01-01",
|
|
458
|
-
base64Decoder: (_a = config == null ? void 0 : config.base64Decoder) != null ? _a : fromBase64,
|
|
459
|
-
base64Encoder: (_b = config == null ? void 0 : config.base64Encoder) != null ? _b : toBase64,
|
|
460
|
-
disableHostPrefix: (_c2 = config == null ? void 0 : config.disableHostPrefix) != null ? _c2 : false,
|
|
461
|
-
endpointProvider: (_d = config == null ? void 0 : config.endpointProvider) != null ? _d : defaultEndpointResolver,
|
|
462
|
-
extensions: (_e2 = config == null ? void 0 : config.extensions) != null ? _e2 : [],
|
|
463
|
-
httpAuthSchemeProvider: (_f = config == null ? void 0 : config.httpAuthSchemeProvider) != null ? _f : defaultSigninHttpAuthSchemeProvider,
|
|
464
|
-
httpAuthSchemes: (_g = config == null ? void 0 : config.httpAuthSchemes) != null ? _g : [
|
|
465
|
-
{
|
|
466
|
-
schemeId: "aws.auth#sigv4",
|
|
467
|
-
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
468
|
-
signer: new AwsSdkSigV4Signer()
|
|
469
|
-
},
|
|
470
|
-
{
|
|
471
|
-
schemeId: "smithy.api#noAuth",
|
|
472
|
-
identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
|
|
473
|
-
signer: new NoAuthSigner()
|
|
474
|
-
}
|
|
475
|
-
],
|
|
476
|
-
logger: (_h2 = config == null ? void 0 : config.logger) != null ? _h2 : new NoOpLogger(),
|
|
477
|
-
protocol: (_i = config == null ? void 0 : config.protocol) != null ? _i : AwsRestJsonProtocol,
|
|
478
|
-
protocolSettings: (_j = config == null ? void 0 : config.protocolSettings) != null ? _j : {
|
|
479
|
-
defaultNamespace: "com.amazonaws.signin",
|
|
480
|
-
errorTypeRegistries,
|
|
481
|
-
version: "2023-01-01",
|
|
482
|
-
serviceTarget: "Signin"
|
|
483
|
-
},
|
|
484
|
-
serviceId: (_k = config == null ? void 0 : config.serviceId) != null ? _k : "Signin",
|
|
485
|
-
urlParser: (_l = config == null ? void 0 : config.urlParser) != null ? _l : parseUrl,
|
|
486
|
-
utf8Decoder: (_m2 = config == null ? void 0 : config.utf8Decoder) != null ? _m2 : fromUtf8,
|
|
487
|
-
utf8Encoder: (_n = config == null ? void 0 : config.utf8Encoder) != null ? _n : toUtf8
|
|
488
|
-
};
|
|
489
|
-
};
|
|
490
|
-
|
|
491
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js
|
|
492
|
-
var getRuntimeConfig2 = (config) => {
|
|
493
|
-
var _a, _b, _c2, _d, _e2, _f, _g, _h2, _i, _j, _k, _l;
|
|
494
|
-
emitWarningIfUnsupportedVersion2(process.version);
|
|
495
|
-
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
496
|
-
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
497
|
-
const clientSharedValues = getRuntimeConfig(config);
|
|
498
|
-
emitWarningIfUnsupportedVersion(process.version);
|
|
499
|
-
const loaderConfig = {
|
|
500
|
-
profile: config == null ? void 0 : config.profile,
|
|
501
|
-
logger: clientSharedValues.logger
|
|
502
|
-
};
|
|
503
|
-
return __spreadProps(__spreadValues(__spreadValues({}, clientSharedValues), config), {
|
|
504
|
-
runtime: "node",
|
|
505
|
-
defaultsMode,
|
|
506
|
-
authSchemePreference: (_a = config == null ? void 0 : config.authSchemePreference) != null ? _a : loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
507
|
-
bodyLengthChecker: (_b = config == null ? void 0 : config.bodyLengthChecker) != null ? _b : calculateBodyLength,
|
|
508
|
-
defaultUserAgentProvider: (_c2 = config == null ? void 0 : config.defaultUserAgentProvider) != null ? _c2 : createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: package_default.version }),
|
|
509
|
-
maxAttempts: (_d = config == null ? void 0 : config.maxAttempts) != null ? _d : loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
510
|
-
region: (_e2 = config == null ? void 0 : config.region) != null ? _e2 : loadConfig(NODE_REGION_CONFIG_OPTIONS, __spreadValues(__spreadValues({}, NODE_REGION_CONFIG_FILE_OPTIONS), loaderConfig)),
|
|
511
|
-
requestHandler: NodeHttpHandler.create((_f = config == null ? void 0 : config.requestHandler) != null ? _f : defaultConfigProvider),
|
|
512
|
-
retryMode: (_g = config == null ? void 0 : config.retryMode) != null ? _g : loadConfig(__spreadProps(__spreadValues({}, NODE_RETRY_MODE_CONFIG_OPTIONS), {
|
|
513
|
-
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE
|
|
514
|
-
}), config),
|
|
515
|
-
sha256: (_h2 = config == null ? void 0 : config.sha256) != null ? _h2 : Hash.bind(null, "sha256"),
|
|
516
|
-
streamCollector: (_i = config == null ? void 0 : config.streamCollector) != null ? _i : streamCollector,
|
|
517
|
-
useDualstackEndpoint: (_j = config == null ? void 0 : config.useDualstackEndpoint) != null ? _j : loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
518
|
-
useFipsEndpoint: (_k = config == null ? void 0 : config.useFipsEndpoint) != null ? _k : loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
519
|
-
userAgentAppId: (_l = config == null ? void 0 : config.userAgentAppId) != null ? _l : loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig)
|
|
520
|
-
});
|
|
521
|
-
};
|
|
522
|
-
|
|
523
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthExtensionConfiguration.js
|
|
524
|
-
var getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
525
|
-
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
526
|
-
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
527
|
-
let _credentials = runtimeConfig.credentials;
|
|
528
|
-
return {
|
|
529
|
-
setHttpAuthScheme(httpAuthScheme) {
|
|
530
|
-
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
531
|
-
if (index === -1) {
|
|
532
|
-
_httpAuthSchemes.push(httpAuthScheme);
|
|
533
|
-
} else {
|
|
534
|
-
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
535
|
-
}
|
|
536
|
-
},
|
|
537
|
-
httpAuthSchemes() {
|
|
538
|
-
return _httpAuthSchemes;
|
|
539
|
-
},
|
|
540
|
-
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
541
|
-
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
542
|
-
},
|
|
543
|
-
httpAuthSchemeProvider() {
|
|
544
|
-
return _httpAuthSchemeProvider;
|
|
545
|
-
},
|
|
546
|
-
setCredentials(credentials) {
|
|
547
|
-
_credentials = credentials;
|
|
548
|
-
},
|
|
549
|
-
credentials() {
|
|
550
|
-
return _credentials;
|
|
551
|
-
}
|
|
552
|
-
};
|
|
553
|
-
};
|
|
554
|
-
var resolveHttpAuthRuntimeConfig = (config) => {
|
|
555
|
-
return {
|
|
556
|
-
httpAuthSchemes: config.httpAuthSchemes(),
|
|
557
|
-
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
558
|
-
credentials: config.credentials()
|
|
559
|
-
};
|
|
560
|
-
};
|
|
561
|
-
|
|
562
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeExtensions.js
|
|
563
|
-
var resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
564
|
-
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
565
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
566
|
-
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
567
|
-
};
|
|
568
|
-
|
|
569
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/SigninClient.js
|
|
570
|
-
var SigninClient = class extends Client {
|
|
571
|
-
constructor(...[configuration]) {
|
|
572
|
-
const _config_0 = getRuntimeConfig2(configuration || {});
|
|
573
|
-
super(_config_0);
|
|
574
|
-
__publicField(this, "config");
|
|
575
|
-
this.initConfig = _config_0;
|
|
576
|
-
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
577
|
-
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
578
|
-
const _config_3 = resolveRetryConfig(_config_2);
|
|
579
|
-
const _config_4 = resolveRegionConfig(_config_3);
|
|
580
|
-
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
581
|
-
const _config_6 = resolveEndpointConfig(_config_5);
|
|
582
|
-
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
583
|
-
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
584
|
-
this.config = _config_8;
|
|
585
|
-
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
586
|
-
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
587
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
588
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
589
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
590
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
591
|
-
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
592
|
-
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
593
|
-
httpAuthSchemeParametersProvider: defaultSigninHttpAuthSchemeParametersProvider,
|
|
594
|
-
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
|
|
595
|
-
"aws.auth#sigv4": config.credentials
|
|
596
|
-
})
|
|
597
|
-
}));
|
|
598
|
-
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
|
599
|
-
}
|
|
600
|
-
destroy() {
|
|
601
|
-
super.destroy();
|
|
602
|
-
}
|
|
603
|
-
};
|
|
604
|
-
|
|
605
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js
|
|
606
|
-
var CreateOAuth2TokenCommand = class extends Command.classBuilder().ep(commonParams).m(function(Command2, cs, config, o) {
|
|
607
|
-
return [getEndpointPlugin(config, Command2.getEndpointParameterInstructions())];
|
|
608
|
-
}).s("Signin", "CreateOAuth2Token", {}).n("SigninClient", "CreateOAuth2TokenCommand").sc(CreateOAuth2Token$).build() {
|
|
609
|
-
};
|
|
610
|
-
|
|
611
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js
|
|
612
|
-
var commands = {
|
|
613
|
-
CreateOAuth2TokenCommand
|
|
614
|
-
};
|
|
615
|
-
var Signin = class extends SigninClient {
|
|
616
|
-
};
|
|
617
|
-
createAggregatedClient(commands, Signin);
|
|
618
|
-
|
|
619
|
-
// ../../node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js
|
|
620
|
-
var OAuth2ErrorCode = {
|
|
621
|
-
AUTHCODE_EXPIRED: "AUTHCODE_EXPIRED",
|
|
622
|
-
INSUFFICIENT_PERMISSIONS: "INSUFFICIENT_PERMISSIONS",
|
|
623
|
-
INVALID_REQUEST: "INVALID_REQUEST",
|
|
624
|
-
SERVER_ERROR: "server_error",
|
|
625
|
-
TOKEN_EXPIRED: "TOKEN_EXPIRED",
|
|
626
|
-
USER_CREDENTIALS_CHANGED: "USER_CREDENTIALS_CHANGED"
|
|
627
|
-
};
|
|
628
|
-
export {
|
|
629
|
-
Command as $Command,
|
|
630
|
-
AccessDeniedException,
|
|
631
|
-
AccessDeniedException$,
|
|
632
|
-
AccessToken$,
|
|
633
|
-
CreateOAuth2Token$,
|
|
634
|
-
CreateOAuth2TokenCommand,
|
|
635
|
-
CreateOAuth2TokenRequest$,
|
|
636
|
-
CreateOAuth2TokenRequestBody$,
|
|
637
|
-
CreateOAuth2TokenResponse$,
|
|
638
|
-
CreateOAuth2TokenResponseBody$,
|
|
639
|
-
InternalServerException,
|
|
640
|
-
InternalServerException$,
|
|
641
|
-
OAuth2ErrorCode,
|
|
642
|
-
Signin,
|
|
643
|
-
SigninClient,
|
|
644
|
-
SigninServiceException,
|
|
645
|
-
SigninServiceException$,
|
|
646
|
-
TooManyRequestsError,
|
|
647
|
-
TooManyRequestsError$,
|
|
648
|
-
ValidationException,
|
|
649
|
-
ValidationException$,
|
|
650
|
-
Client as __Client,
|
|
651
|
-
errorTypeRegistries
|
|
652
|
-
};
|
|
653
|
-
//# sourceMappingURL=signin-SEY3FDQ5.js.map
|