@aws-sdk/client-sso-oidc 3.1074.0 → 3.1076.0
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-cjs/index.js +730 -16
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -1
- package/package.json +9 -9
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -63
- package/dist-cjs/endpoint/bdd.js +0 -49
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/SSOOIDCServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -233
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -45
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -44
- package/dist-cjs/schemas/schemas_0.js +0 -267
package/dist-cjs/index.js
CHANGED
|
@@ -1,21 +1,77 @@
|
|
|
1
|
-
|
|
2
|
-
const {
|
|
3
|
-
const {
|
|
4
|
-
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
1
|
+
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
2
|
+
const { NoAuthSigner, getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require("@smithy/core");
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
5
4
|
exports.$Command = Command;
|
|
6
5
|
exports.__Client = Client;
|
|
7
|
-
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
8
|
-
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
9
|
-
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
10
|
-
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
11
|
-
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
|
-
const {
|
|
13
|
-
const {
|
|
14
|
-
const {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
6
|
+
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
|
+
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
8
|
+
const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
9
|
+
const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
10
|
+
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
|
+
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
|
+
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
|
+
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
|
+
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
16
|
+
|
|
17
|
+
const defaultSSOOIDCHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
|
+
return {
|
|
19
|
+
operation: getSmithyContext(context).operation,
|
|
20
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
21
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
22
|
+
})(),
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
26
|
+
return {
|
|
27
|
+
schemeId: "aws.auth#sigv4",
|
|
28
|
+
signingProperties: {
|
|
29
|
+
name: "sso-oauth",
|
|
30
|
+
region: authParameters.region,
|
|
31
|
+
},
|
|
32
|
+
propertiesExtractor: (config, context) => ({
|
|
33
|
+
signingProperties: {
|
|
34
|
+
config,
|
|
35
|
+
context,
|
|
36
|
+
},
|
|
37
|
+
}),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function createSmithyApiNoAuthHttpAuthOption(authParameters) {
|
|
41
|
+
return {
|
|
42
|
+
schemeId: "smithy.api#noAuth",
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
const defaultSSOOIDCHttpAuthSchemeProvider = (authParameters) => {
|
|
46
|
+
const options = [];
|
|
47
|
+
switch (authParameters.operation) {
|
|
48
|
+
case "CreateToken":
|
|
49
|
+
{
|
|
50
|
+
options.push(createSmithyApiNoAuthHttpAuthOption());
|
|
51
|
+
break;
|
|
52
|
+
}
|
|
53
|
+
case "RegisterClient":
|
|
54
|
+
{
|
|
55
|
+
options.push(createSmithyApiNoAuthHttpAuthOption());
|
|
56
|
+
break;
|
|
57
|
+
}
|
|
58
|
+
case "StartDeviceAuthorization":
|
|
59
|
+
{
|
|
60
|
+
options.push(createSmithyApiNoAuthHttpAuthOption());
|
|
61
|
+
break;
|
|
62
|
+
}
|
|
63
|
+
default: {
|
|
64
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
return options;
|
|
68
|
+
};
|
|
69
|
+
const resolveHttpAuthSchemeConfig = (config) => {
|
|
70
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
71
|
+
return Object.assign(config_0, {
|
|
72
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
73
|
+
});
|
|
74
|
+
};
|
|
19
75
|
|
|
20
76
|
const resolveClientEndpointParameters = (options) => {
|
|
21
77
|
return Object.assign(options, {
|
|
@@ -31,6 +87,620 @@ const commonParams = {
|
|
|
31
87
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
32
88
|
};
|
|
33
89
|
|
|
90
|
+
var version = "3.1075.0";
|
|
91
|
+
var packageInfo = {
|
|
92
|
+
version: version};
|
|
93
|
+
|
|
94
|
+
const k = "ref";
|
|
95
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
96
|
+
const _data = {
|
|
97
|
+
conditions: [
|
|
98
|
+
[c, [g]],
|
|
99
|
+
[c, j],
|
|
100
|
+
["aws.partition", j, d],
|
|
101
|
+
[e, [{ [k]: "UseFIPS" }, b]],
|
|
102
|
+
[e, [{ [k]: "UseDualStack" }, b]],
|
|
103
|
+
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
104
|
+
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]],
|
|
105
|
+
["stringEquals", [{ fn: f, argv: [h, "name"] }, "aws-us-gov"]]
|
|
106
|
+
],
|
|
107
|
+
results: [
|
|
108
|
+
[a],
|
|
109
|
+
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
110
|
+
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
111
|
+
[g, i],
|
|
112
|
+
["https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
113
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
114
|
+
["https://oidc.{Region}.amazonaws.com", i],
|
|
115
|
+
["https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
116
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
117
|
+
["https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
118
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
119
|
+
["https://oidc.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
120
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
121
|
+
]
|
|
122
|
+
};
|
|
123
|
+
const root = 2;
|
|
124
|
+
const r = 100_000_000;
|
|
125
|
+
const nodes = new Int32Array([
|
|
126
|
+
-1, 1, -1,
|
|
127
|
+
0, 13, 3,
|
|
128
|
+
1, 4, r + 12,
|
|
129
|
+
2, 5, r + 12,
|
|
130
|
+
3, 8, 6,
|
|
131
|
+
4, 7, r + 11,
|
|
132
|
+
5, r + 9, r + 10,
|
|
133
|
+
4, 11, 9,
|
|
134
|
+
6, 10, r + 8,
|
|
135
|
+
7, r + 6, r + 7,
|
|
136
|
+
5, 12, r + 5,
|
|
137
|
+
6, r + 4, r + 5,
|
|
138
|
+
3, r + 1, 14,
|
|
139
|
+
4, r + 2, r + 3,
|
|
140
|
+
]);
|
|
141
|
+
const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
142
|
+
|
|
143
|
+
const cache = new EndpointCache({
|
|
144
|
+
size: 50,
|
|
145
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
146
|
+
});
|
|
147
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
148
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
149
|
+
endpointParams: endpointParams,
|
|
150
|
+
logger: context.logger,
|
|
151
|
+
}));
|
|
152
|
+
};
|
|
153
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
154
|
+
|
|
155
|
+
class SSOOIDCServiceException extends ServiceException {
|
|
156
|
+
constructor(options) {
|
|
157
|
+
super(options);
|
|
158
|
+
Object.setPrototypeOf(this, SSOOIDCServiceException.prototype);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
class AccessDeniedException extends SSOOIDCServiceException {
|
|
163
|
+
name = "AccessDeniedException";
|
|
164
|
+
$fault = "client";
|
|
165
|
+
error;
|
|
166
|
+
reason;
|
|
167
|
+
error_description;
|
|
168
|
+
constructor(opts) {
|
|
169
|
+
super({
|
|
170
|
+
name: "AccessDeniedException",
|
|
171
|
+
$fault: "client",
|
|
172
|
+
...opts,
|
|
173
|
+
});
|
|
174
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
175
|
+
this.error = opts.error;
|
|
176
|
+
this.reason = opts.reason;
|
|
177
|
+
this.error_description = opts.error_description;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
class AuthorizationPendingException extends SSOOIDCServiceException {
|
|
181
|
+
name = "AuthorizationPendingException";
|
|
182
|
+
$fault = "client";
|
|
183
|
+
error;
|
|
184
|
+
error_description;
|
|
185
|
+
constructor(opts) {
|
|
186
|
+
super({
|
|
187
|
+
name: "AuthorizationPendingException",
|
|
188
|
+
$fault: "client",
|
|
189
|
+
...opts,
|
|
190
|
+
});
|
|
191
|
+
Object.setPrototypeOf(this, AuthorizationPendingException.prototype);
|
|
192
|
+
this.error = opts.error;
|
|
193
|
+
this.error_description = opts.error_description;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
class ExpiredTokenException extends SSOOIDCServiceException {
|
|
197
|
+
name = "ExpiredTokenException";
|
|
198
|
+
$fault = "client";
|
|
199
|
+
error;
|
|
200
|
+
error_description;
|
|
201
|
+
constructor(opts) {
|
|
202
|
+
super({
|
|
203
|
+
name: "ExpiredTokenException",
|
|
204
|
+
$fault: "client",
|
|
205
|
+
...opts,
|
|
206
|
+
});
|
|
207
|
+
Object.setPrototypeOf(this, ExpiredTokenException.prototype);
|
|
208
|
+
this.error = opts.error;
|
|
209
|
+
this.error_description = opts.error_description;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
class InternalServerException extends SSOOIDCServiceException {
|
|
213
|
+
name = "InternalServerException";
|
|
214
|
+
$fault = "server";
|
|
215
|
+
error;
|
|
216
|
+
error_description;
|
|
217
|
+
constructor(opts) {
|
|
218
|
+
super({
|
|
219
|
+
name: "InternalServerException",
|
|
220
|
+
$fault: "server",
|
|
221
|
+
...opts,
|
|
222
|
+
});
|
|
223
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
224
|
+
this.error = opts.error;
|
|
225
|
+
this.error_description = opts.error_description;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
class InvalidClientException extends SSOOIDCServiceException {
|
|
229
|
+
name = "InvalidClientException";
|
|
230
|
+
$fault = "client";
|
|
231
|
+
error;
|
|
232
|
+
error_description;
|
|
233
|
+
constructor(opts) {
|
|
234
|
+
super({
|
|
235
|
+
name: "InvalidClientException",
|
|
236
|
+
$fault: "client",
|
|
237
|
+
...opts,
|
|
238
|
+
});
|
|
239
|
+
Object.setPrototypeOf(this, InvalidClientException.prototype);
|
|
240
|
+
this.error = opts.error;
|
|
241
|
+
this.error_description = opts.error_description;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
class InvalidGrantException extends SSOOIDCServiceException {
|
|
245
|
+
name = "InvalidGrantException";
|
|
246
|
+
$fault = "client";
|
|
247
|
+
error;
|
|
248
|
+
error_description;
|
|
249
|
+
constructor(opts) {
|
|
250
|
+
super({
|
|
251
|
+
name: "InvalidGrantException",
|
|
252
|
+
$fault: "client",
|
|
253
|
+
...opts,
|
|
254
|
+
});
|
|
255
|
+
Object.setPrototypeOf(this, InvalidGrantException.prototype);
|
|
256
|
+
this.error = opts.error;
|
|
257
|
+
this.error_description = opts.error_description;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
class InvalidRequestException extends SSOOIDCServiceException {
|
|
261
|
+
name = "InvalidRequestException";
|
|
262
|
+
$fault = "client";
|
|
263
|
+
error;
|
|
264
|
+
reason;
|
|
265
|
+
error_description;
|
|
266
|
+
constructor(opts) {
|
|
267
|
+
super({
|
|
268
|
+
name: "InvalidRequestException",
|
|
269
|
+
$fault: "client",
|
|
270
|
+
...opts,
|
|
271
|
+
});
|
|
272
|
+
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
273
|
+
this.error = opts.error;
|
|
274
|
+
this.reason = opts.reason;
|
|
275
|
+
this.error_description = opts.error_description;
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
class InvalidScopeException extends SSOOIDCServiceException {
|
|
279
|
+
name = "InvalidScopeException";
|
|
280
|
+
$fault = "client";
|
|
281
|
+
error;
|
|
282
|
+
error_description;
|
|
283
|
+
constructor(opts) {
|
|
284
|
+
super({
|
|
285
|
+
name: "InvalidScopeException",
|
|
286
|
+
$fault: "client",
|
|
287
|
+
...opts,
|
|
288
|
+
});
|
|
289
|
+
Object.setPrototypeOf(this, InvalidScopeException.prototype);
|
|
290
|
+
this.error = opts.error;
|
|
291
|
+
this.error_description = opts.error_description;
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
class SlowDownException extends SSOOIDCServiceException {
|
|
295
|
+
name = "SlowDownException";
|
|
296
|
+
$fault = "client";
|
|
297
|
+
error;
|
|
298
|
+
error_description;
|
|
299
|
+
constructor(opts) {
|
|
300
|
+
super({
|
|
301
|
+
name: "SlowDownException",
|
|
302
|
+
$fault: "client",
|
|
303
|
+
...opts,
|
|
304
|
+
});
|
|
305
|
+
Object.setPrototypeOf(this, SlowDownException.prototype);
|
|
306
|
+
this.error = opts.error;
|
|
307
|
+
this.error_description = opts.error_description;
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
class UnauthorizedClientException extends SSOOIDCServiceException {
|
|
311
|
+
name = "UnauthorizedClientException";
|
|
312
|
+
$fault = "client";
|
|
313
|
+
error;
|
|
314
|
+
error_description;
|
|
315
|
+
constructor(opts) {
|
|
316
|
+
super({
|
|
317
|
+
name: "UnauthorizedClientException",
|
|
318
|
+
$fault: "client",
|
|
319
|
+
...opts,
|
|
320
|
+
});
|
|
321
|
+
Object.setPrototypeOf(this, UnauthorizedClientException.prototype);
|
|
322
|
+
this.error = opts.error;
|
|
323
|
+
this.error_description = opts.error_description;
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
class UnsupportedGrantTypeException extends SSOOIDCServiceException {
|
|
327
|
+
name = "UnsupportedGrantTypeException";
|
|
328
|
+
$fault = "client";
|
|
329
|
+
error;
|
|
330
|
+
error_description;
|
|
331
|
+
constructor(opts) {
|
|
332
|
+
super({
|
|
333
|
+
name: "UnsupportedGrantTypeException",
|
|
334
|
+
$fault: "client",
|
|
335
|
+
...opts,
|
|
336
|
+
});
|
|
337
|
+
Object.setPrototypeOf(this, UnsupportedGrantTypeException.prototype);
|
|
338
|
+
this.error = opts.error;
|
|
339
|
+
this.error_description = opts.error_description;
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
class InvalidRequestRegionException extends SSOOIDCServiceException {
|
|
343
|
+
name = "InvalidRequestRegionException";
|
|
344
|
+
$fault = "client";
|
|
345
|
+
error;
|
|
346
|
+
error_description;
|
|
347
|
+
endpoint;
|
|
348
|
+
region;
|
|
349
|
+
constructor(opts) {
|
|
350
|
+
super({
|
|
351
|
+
name: "InvalidRequestRegionException",
|
|
352
|
+
$fault: "client",
|
|
353
|
+
...opts,
|
|
354
|
+
});
|
|
355
|
+
Object.setPrototypeOf(this, InvalidRequestRegionException.prototype);
|
|
356
|
+
this.error = opts.error;
|
|
357
|
+
this.error_description = opts.error_description;
|
|
358
|
+
this.endpoint = opts.endpoint;
|
|
359
|
+
this.region = opts.region;
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
class InvalidClientMetadataException extends SSOOIDCServiceException {
|
|
363
|
+
name = "InvalidClientMetadataException";
|
|
364
|
+
$fault = "client";
|
|
365
|
+
error;
|
|
366
|
+
error_description;
|
|
367
|
+
constructor(opts) {
|
|
368
|
+
super({
|
|
369
|
+
name: "InvalidClientMetadataException",
|
|
370
|
+
$fault: "client",
|
|
371
|
+
...opts,
|
|
372
|
+
});
|
|
373
|
+
Object.setPrototypeOf(this, InvalidClientMetadataException.prototype);
|
|
374
|
+
this.error = opts.error;
|
|
375
|
+
this.error_description = opts.error_description;
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
class InvalidRedirectUriException extends SSOOIDCServiceException {
|
|
379
|
+
name = "InvalidRedirectUriException";
|
|
380
|
+
$fault = "client";
|
|
381
|
+
error;
|
|
382
|
+
error_description;
|
|
383
|
+
constructor(opts) {
|
|
384
|
+
super({
|
|
385
|
+
name: "InvalidRedirectUriException",
|
|
386
|
+
$fault: "client",
|
|
387
|
+
...opts,
|
|
388
|
+
});
|
|
389
|
+
Object.setPrototypeOf(this, InvalidRedirectUriException.prototype);
|
|
390
|
+
this.error = opts.error;
|
|
391
|
+
this.error_description = opts.error_description;
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
const _A = "Assertion";
|
|
396
|
+
const _AAD = "AwsAdditionalDetails";
|
|
397
|
+
const _ADE = "AccessDeniedException";
|
|
398
|
+
const _APE = "AuthorizationPendingException";
|
|
399
|
+
const _AT = "AccessToken";
|
|
400
|
+
const _CS = "ClientSecret";
|
|
401
|
+
const _CT = "CreateToken";
|
|
402
|
+
const _CTR = "CreateTokenRequest";
|
|
403
|
+
const _CTRr = "CreateTokenResponse";
|
|
404
|
+
const _CTWIAM = "CreateTokenWithIAM";
|
|
405
|
+
const _CTWIAMR = "CreateTokenWithIAMRequest";
|
|
406
|
+
const _CTWIAMRr = "CreateTokenWithIAMResponse";
|
|
407
|
+
const _CV = "CodeVerifier";
|
|
408
|
+
const _ETE = "ExpiredTokenException";
|
|
409
|
+
const _ICE = "InvalidClientException";
|
|
410
|
+
const _ICME = "InvalidClientMetadataException";
|
|
411
|
+
const _IGE = "InvalidGrantException";
|
|
412
|
+
const _IRE = "InvalidRequestException";
|
|
413
|
+
const _IRRE = "InvalidRequestRegionException";
|
|
414
|
+
const _IRUE = "InvalidRedirectUriException";
|
|
415
|
+
const _ISE = "InternalServerException";
|
|
416
|
+
const _ISEn = "InvalidScopeException";
|
|
417
|
+
const _IT = "IdToken";
|
|
418
|
+
const _RC = "RegisterClient";
|
|
419
|
+
const _RCR = "RegisterClientRequest";
|
|
420
|
+
const _RCRe = "RegisterClientResponse";
|
|
421
|
+
const _RT = "RefreshToken";
|
|
422
|
+
const _SDA = "StartDeviceAuthorization";
|
|
423
|
+
const _SDAR = "StartDeviceAuthorizationRequest";
|
|
424
|
+
const _SDARt = "StartDeviceAuthorizationResponse";
|
|
425
|
+
const _SDE = "SlowDownException";
|
|
426
|
+
const _ST = "SubjectToken";
|
|
427
|
+
const _UCE = "UnauthorizedClientException";
|
|
428
|
+
const _UGTE = "UnsupportedGrantTypeException";
|
|
429
|
+
const _a = "assertion";
|
|
430
|
+
const _aAD = "awsAdditionalDetails";
|
|
431
|
+
const _aE = "authorizationEndpoint";
|
|
432
|
+
const _aT = "accessToken";
|
|
433
|
+
const _c = "client";
|
|
434
|
+
const _cI = "clientId";
|
|
435
|
+
const _cIIA = "clientIdIssuedAt";
|
|
436
|
+
const _cN = "clientName";
|
|
437
|
+
const _cS = "clientSecret";
|
|
438
|
+
const _cSEA = "clientSecretExpiresAt";
|
|
439
|
+
const _cT = "clientType";
|
|
440
|
+
const _cV = "codeVerifier";
|
|
441
|
+
const _co = "code";
|
|
442
|
+
const _dC = "deviceCode";
|
|
443
|
+
const _e = "error";
|
|
444
|
+
const _eAA = "entitledApplicationArn";
|
|
445
|
+
const _eI = "expiresIn";
|
|
446
|
+
const _ed = "error_description";
|
|
447
|
+
const _en = "endpoint";
|
|
448
|
+
const _gT = "grantType";
|
|
449
|
+
const _gTr = "grantTypes";
|
|
450
|
+
const _h = "http";
|
|
451
|
+
const _hE = "httpError";
|
|
452
|
+
const _i = "interval";
|
|
453
|
+
const _iC = "identityContext";
|
|
454
|
+
const _iT = "idToken";
|
|
455
|
+
const _iTT = "issuedTokenType";
|
|
456
|
+
const _iU = "issuerUrl";
|
|
457
|
+
const _r = "reason";
|
|
458
|
+
const _rT = "refreshToken";
|
|
459
|
+
const _rTT = "requestedTokenType";
|
|
460
|
+
const _rU = "redirectUri";
|
|
461
|
+
const _rUe = "redirectUris";
|
|
462
|
+
const _re = "region";
|
|
463
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.ssooidc";
|
|
464
|
+
const _sT = "subjectToken";
|
|
465
|
+
const _sTT = "subjectTokenType";
|
|
466
|
+
const _sU = "startUrl";
|
|
467
|
+
const _sc = "scope";
|
|
468
|
+
const _sco = "scopes";
|
|
469
|
+
const _se = "server";
|
|
470
|
+
const _tE = "tokenEndpoint";
|
|
471
|
+
const _tT = "tokenType";
|
|
472
|
+
const _uC = "userCode";
|
|
473
|
+
const _vU = "verificationUri";
|
|
474
|
+
const _vUC = "verificationUriComplete";
|
|
475
|
+
const n0 = "com.amazonaws.ssooidc";
|
|
476
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
477
|
+
var SSOOIDCServiceException$ = [-3, _s, "SSOOIDCServiceException", 0, [], []];
|
|
478
|
+
_s_registry.registerError(SSOOIDCServiceException$, SSOOIDCServiceException);
|
|
479
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
480
|
+
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
481
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
482
|
+
[_e, _r, _ed],
|
|
483
|
+
[0, 0, 0]
|
|
484
|
+
];
|
|
485
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
486
|
+
var AuthorizationPendingException$ = [-3, n0, _APE,
|
|
487
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
488
|
+
[_e, _ed],
|
|
489
|
+
[0, 0]
|
|
490
|
+
];
|
|
491
|
+
n0_registry.registerError(AuthorizationPendingException$, AuthorizationPendingException);
|
|
492
|
+
var ExpiredTokenException$ = [-3, n0, _ETE,
|
|
493
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
494
|
+
[_e, _ed],
|
|
495
|
+
[0, 0]
|
|
496
|
+
];
|
|
497
|
+
n0_registry.registerError(ExpiredTokenException$, ExpiredTokenException);
|
|
498
|
+
var InternalServerException$ = [-3, n0, _ISE,
|
|
499
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
500
|
+
[_e, _ed],
|
|
501
|
+
[0, 0]
|
|
502
|
+
];
|
|
503
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
504
|
+
var InvalidClientException$ = [-3, n0, _ICE,
|
|
505
|
+
{ [_e]: _c, [_hE]: 401 },
|
|
506
|
+
[_e, _ed],
|
|
507
|
+
[0, 0]
|
|
508
|
+
];
|
|
509
|
+
n0_registry.registerError(InvalidClientException$, InvalidClientException);
|
|
510
|
+
var InvalidClientMetadataException$ = [-3, n0, _ICME,
|
|
511
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
512
|
+
[_e, _ed],
|
|
513
|
+
[0, 0]
|
|
514
|
+
];
|
|
515
|
+
n0_registry.registerError(InvalidClientMetadataException$, InvalidClientMetadataException);
|
|
516
|
+
var InvalidGrantException$ = [-3, n0, _IGE,
|
|
517
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
518
|
+
[_e, _ed],
|
|
519
|
+
[0, 0]
|
|
520
|
+
];
|
|
521
|
+
n0_registry.registerError(InvalidGrantException$, InvalidGrantException);
|
|
522
|
+
var InvalidRedirectUriException$ = [-3, n0, _IRUE,
|
|
523
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
524
|
+
[_e, _ed],
|
|
525
|
+
[0, 0]
|
|
526
|
+
];
|
|
527
|
+
n0_registry.registerError(InvalidRedirectUriException$, InvalidRedirectUriException);
|
|
528
|
+
var InvalidRequestException$ = [-3, n0, _IRE,
|
|
529
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
530
|
+
[_e, _r, _ed],
|
|
531
|
+
[0, 0, 0]
|
|
532
|
+
];
|
|
533
|
+
n0_registry.registerError(InvalidRequestException$, InvalidRequestException);
|
|
534
|
+
var InvalidRequestRegionException$ = [-3, n0, _IRRE,
|
|
535
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
536
|
+
[_e, _ed, _en, _re],
|
|
537
|
+
[0, 0, 0, 0]
|
|
538
|
+
];
|
|
539
|
+
n0_registry.registerError(InvalidRequestRegionException$, InvalidRequestRegionException);
|
|
540
|
+
var InvalidScopeException$ = [-3, n0, _ISEn,
|
|
541
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
542
|
+
[_e, _ed],
|
|
543
|
+
[0, 0]
|
|
544
|
+
];
|
|
545
|
+
n0_registry.registerError(InvalidScopeException$, InvalidScopeException);
|
|
546
|
+
var SlowDownException$ = [-3, n0, _SDE,
|
|
547
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
548
|
+
[_e, _ed],
|
|
549
|
+
[0, 0]
|
|
550
|
+
];
|
|
551
|
+
n0_registry.registerError(SlowDownException$, SlowDownException);
|
|
552
|
+
var UnauthorizedClientException$ = [-3, n0, _UCE,
|
|
553
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
554
|
+
[_e, _ed],
|
|
555
|
+
[0, 0]
|
|
556
|
+
];
|
|
557
|
+
n0_registry.registerError(UnauthorizedClientException$, UnauthorizedClientException);
|
|
558
|
+
var UnsupportedGrantTypeException$ = [-3, n0, _UGTE,
|
|
559
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
560
|
+
[_e, _ed],
|
|
561
|
+
[0, 0]
|
|
562
|
+
];
|
|
563
|
+
n0_registry.registerError(UnsupportedGrantTypeException$, UnsupportedGrantTypeException);
|
|
564
|
+
const errorTypeRegistries = [
|
|
565
|
+
_s_registry,
|
|
566
|
+
n0_registry,
|
|
567
|
+
];
|
|
568
|
+
var AccessToken = [0, n0, _AT, 8, 0];
|
|
569
|
+
var Assertion = [0, n0, _A, 8, 0];
|
|
570
|
+
var ClientSecret = [0, n0, _CS, 8, 0];
|
|
571
|
+
var CodeVerifier = [0, n0, _CV, 8, 0];
|
|
572
|
+
var IdToken = [0, n0, _IT, 8, 0];
|
|
573
|
+
var RefreshToken = [0, n0, _RT, 8, 0];
|
|
574
|
+
var SubjectToken = [0, n0, _ST, 8, 0];
|
|
575
|
+
var AwsAdditionalDetails$ = [3, n0, _AAD,
|
|
576
|
+
0,
|
|
577
|
+
[_iC],
|
|
578
|
+
[0]
|
|
579
|
+
];
|
|
580
|
+
var CreateTokenRequest$ = [3, n0, _CTR,
|
|
581
|
+
0,
|
|
582
|
+
[_cI, _cS, _gT, _dC, _co, _rT, _sc, _rU, _cV],
|
|
583
|
+
[0, [() => ClientSecret, 0], 0, 0, 0, [() => RefreshToken, 0], 64 | 0, 0, [() => CodeVerifier, 0]], 3
|
|
584
|
+
];
|
|
585
|
+
var CreateTokenResponse$ = [3, n0, _CTRr,
|
|
586
|
+
0,
|
|
587
|
+
[_aT, _tT, _eI, _rT, _iT],
|
|
588
|
+
[[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0]]
|
|
589
|
+
];
|
|
590
|
+
var CreateTokenWithIAMRequest$ = [3, n0, _CTWIAMR,
|
|
591
|
+
0,
|
|
592
|
+
[_cI, _gT, _co, _rT, _a, _sc, _rU, _sT, _sTT, _rTT, _cV],
|
|
593
|
+
[0, 0, 0, [() => RefreshToken, 0], [() => Assertion, 0], 64 | 0, 0, [() => SubjectToken, 0], 0, 0, [() => CodeVerifier, 0]], 2
|
|
594
|
+
];
|
|
595
|
+
var CreateTokenWithIAMResponse$ = [3, n0, _CTWIAMRr,
|
|
596
|
+
0,
|
|
597
|
+
[_aT, _tT, _eI, _rT, _iT, _iTT, _sc, _aAD],
|
|
598
|
+
[[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0], 0, 64 | 0, () => AwsAdditionalDetails$]
|
|
599
|
+
];
|
|
600
|
+
var RegisterClientRequest$ = [3, n0, _RCR,
|
|
601
|
+
0,
|
|
602
|
+
[_cN, _cT, _sco, _rUe, _gTr, _iU, _eAA],
|
|
603
|
+
[0, 0, 64 | 0, 64 | 0, 64 | 0, 0, 0], 2
|
|
604
|
+
];
|
|
605
|
+
var RegisterClientResponse$ = [3, n0, _RCRe,
|
|
606
|
+
0,
|
|
607
|
+
[_cI, _cS, _cIIA, _cSEA, _aE, _tE],
|
|
608
|
+
[0, [() => ClientSecret, 0], 1, 1, 0, 0]
|
|
609
|
+
];
|
|
610
|
+
var StartDeviceAuthorizationRequest$ = [3, n0, _SDAR,
|
|
611
|
+
0,
|
|
612
|
+
[_cI, _cS, _sU],
|
|
613
|
+
[0, [() => ClientSecret, 0], 0], 3
|
|
614
|
+
];
|
|
615
|
+
var StartDeviceAuthorizationResponse$ = [3, n0, _SDARt,
|
|
616
|
+
0,
|
|
617
|
+
[_dC, _uC, _vU, _vUC, _eI, _i],
|
|
618
|
+
[0, 0, 0, 0, 1, 1]
|
|
619
|
+
];
|
|
620
|
+
var CreateToken$ = [9, n0, _CT,
|
|
621
|
+
{ [_h]: ["POST", "/token", 200] }, () => CreateTokenRequest$, () => CreateTokenResponse$
|
|
622
|
+
];
|
|
623
|
+
var CreateTokenWithIAM$ = [9, n0, _CTWIAM,
|
|
624
|
+
{ [_h]: ["POST", "/token?aws_iam=t", 200] }, () => CreateTokenWithIAMRequest$, () => CreateTokenWithIAMResponse$
|
|
625
|
+
];
|
|
626
|
+
var RegisterClient$ = [9, n0, _RC,
|
|
627
|
+
{ [_h]: ["POST", "/client/register", 200] }, () => RegisterClientRequest$, () => RegisterClientResponse$
|
|
628
|
+
];
|
|
629
|
+
var StartDeviceAuthorization$ = [9, n0, _SDA,
|
|
630
|
+
{ [_h]: ["POST", "/device_authorization", 200] }, () => StartDeviceAuthorizationRequest$, () => StartDeviceAuthorizationResponse$
|
|
631
|
+
];
|
|
632
|
+
|
|
633
|
+
const getRuntimeConfig$1 = (config) => {
|
|
634
|
+
return {
|
|
635
|
+
apiVersion: "2019-06-10",
|
|
636
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
637
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
638
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
639
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
640
|
+
extensions: config?.extensions ?? [],
|
|
641
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSSOOIDCHttpAuthSchemeProvider,
|
|
642
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
643
|
+
{
|
|
644
|
+
schemeId: "aws.auth#sigv4",
|
|
645
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
646
|
+
signer: new AwsSdkSigV4Signer(),
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
schemeId: "smithy.api#noAuth",
|
|
650
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
|
|
651
|
+
signer: new NoAuthSigner(),
|
|
652
|
+
},
|
|
653
|
+
],
|
|
654
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
655
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
656
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
657
|
+
defaultNamespace: "com.amazonaws.ssooidc",
|
|
658
|
+
errorTypeRegistries,
|
|
659
|
+
version: "2019-06-10",
|
|
660
|
+
serviceTarget: "AWSSSOOIDCService",
|
|
661
|
+
},
|
|
662
|
+
serviceId: config?.serviceId ?? "SSO OIDC",
|
|
663
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
664
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
665
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
666
|
+
};
|
|
667
|
+
};
|
|
668
|
+
|
|
669
|
+
const getRuntimeConfig = (config) => {
|
|
670
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
671
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
672
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
673
|
+
const clientSharedValues = getRuntimeConfig$1(config);
|
|
674
|
+
emitWarningIfUnsupportedVersion$1(process.version);
|
|
675
|
+
const loaderConfig = {
|
|
676
|
+
profile: config?.profile,
|
|
677
|
+
logger: clientSharedValues.logger,
|
|
678
|
+
};
|
|
679
|
+
return {
|
|
680
|
+
...clientSharedValues,
|
|
681
|
+
...config,
|
|
682
|
+
runtime: "node",
|
|
683
|
+
defaultsMode,
|
|
684
|
+
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
685
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
686
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
687
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
688
|
+
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
689
|
+
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
690
|
+
requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
691
|
+
retryMode: config?.retryMode ??
|
|
692
|
+
loadConfig({
|
|
693
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
694
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
695
|
+
}, config),
|
|
696
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
697
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
698
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
699
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
700
|
+
userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
701
|
+
};
|
|
702
|
+
};
|
|
703
|
+
|
|
34
704
|
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
705
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
706
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -179,11 +849,55 @@ const InvalidRequestExceptionReason = {
|
|
|
179
849
|
KMS_KEY_NOT_FOUND: "KMS_NotFoundException",
|
|
180
850
|
};
|
|
181
851
|
|
|
852
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
853
|
+
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
182
854
|
exports.AccessDeniedExceptionReason = AccessDeniedExceptionReason;
|
|
855
|
+
exports.AuthorizationPendingException = AuthorizationPendingException;
|
|
856
|
+
exports.AuthorizationPendingException$ = AuthorizationPendingException$;
|
|
857
|
+
exports.AwsAdditionalDetails$ = AwsAdditionalDetails$;
|
|
858
|
+
exports.CreateToken$ = CreateToken$;
|
|
183
859
|
exports.CreateTokenCommand = CreateTokenCommand;
|
|
860
|
+
exports.CreateTokenRequest$ = CreateTokenRequest$;
|
|
861
|
+
exports.CreateTokenResponse$ = CreateTokenResponse$;
|
|
862
|
+
exports.CreateTokenWithIAM$ = CreateTokenWithIAM$;
|
|
184
863
|
exports.CreateTokenWithIAMCommand = CreateTokenWithIAMCommand;
|
|
864
|
+
exports.CreateTokenWithIAMRequest$ = CreateTokenWithIAMRequest$;
|
|
865
|
+
exports.CreateTokenWithIAMResponse$ = CreateTokenWithIAMResponse$;
|
|
866
|
+
exports.ExpiredTokenException = ExpiredTokenException;
|
|
867
|
+
exports.ExpiredTokenException$ = ExpiredTokenException$;
|
|
868
|
+
exports.InternalServerException = InternalServerException;
|
|
869
|
+
exports.InternalServerException$ = InternalServerException$;
|
|
870
|
+
exports.InvalidClientException = InvalidClientException;
|
|
871
|
+
exports.InvalidClientException$ = InvalidClientException$;
|
|
872
|
+
exports.InvalidClientMetadataException = InvalidClientMetadataException;
|
|
873
|
+
exports.InvalidClientMetadataException$ = InvalidClientMetadataException$;
|
|
874
|
+
exports.InvalidGrantException = InvalidGrantException;
|
|
875
|
+
exports.InvalidGrantException$ = InvalidGrantException$;
|
|
876
|
+
exports.InvalidRedirectUriException = InvalidRedirectUriException;
|
|
877
|
+
exports.InvalidRedirectUriException$ = InvalidRedirectUriException$;
|
|
878
|
+
exports.InvalidRequestException = InvalidRequestException;
|
|
879
|
+
exports.InvalidRequestException$ = InvalidRequestException$;
|
|
185
880
|
exports.InvalidRequestExceptionReason = InvalidRequestExceptionReason;
|
|
881
|
+
exports.InvalidRequestRegionException = InvalidRequestRegionException;
|
|
882
|
+
exports.InvalidRequestRegionException$ = InvalidRequestRegionException$;
|
|
883
|
+
exports.InvalidScopeException = InvalidScopeException;
|
|
884
|
+
exports.InvalidScopeException$ = InvalidScopeException$;
|
|
885
|
+
exports.RegisterClient$ = RegisterClient$;
|
|
186
886
|
exports.RegisterClientCommand = RegisterClientCommand;
|
|
887
|
+
exports.RegisterClientRequest$ = RegisterClientRequest$;
|
|
888
|
+
exports.RegisterClientResponse$ = RegisterClientResponse$;
|
|
187
889
|
exports.SSOOIDC = SSOOIDC;
|
|
188
890
|
exports.SSOOIDCClient = SSOOIDCClient;
|
|
891
|
+
exports.SSOOIDCServiceException = SSOOIDCServiceException;
|
|
892
|
+
exports.SSOOIDCServiceException$ = SSOOIDCServiceException$;
|
|
893
|
+
exports.SlowDownException = SlowDownException;
|
|
894
|
+
exports.SlowDownException$ = SlowDownException$;
|
|
895
|
+
exports.StartDeviceAuthorization$ = StartDeviceAuthorization$;
|
|
189
896
|
exports.StartDeviceAuthorizationCommand = StartDeviceAuthorizationCommand;
|
|
897
|
+
exports.StartDeviceAuthorizationRequest$ = StartDeviceAuthorizationRequest$;
|
|
898
|
+
exports.StartDeviceAuthorizationResponse$ = StartDeviceAuthorizationResponse$;
|
|
899
|
+
exports.UnauthorizedClientException = UnauthorizedClientException;
|
|
900
|
+
exports.UnauthorizedClientException$ = UnauthorizedClientException$;
|
|
901
|
+
exports.UnsupportedGrantTypeException = UnsupportedGrantTypeException;
|
|
902
|
+
exports.UnsupportedGrantTypeException$ = UnsupportedGrantTypeException$;
|
|
903
|
+
exports.errorTypeRegistries = errorTypeRegistries;
|