appos 0.1.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/README.md +399 -0
- package/build/client/assets/IconMail-BZadZvAd.js +1 -0
- package/build/client/assets/_-CgPm6_fJ.js +1 -0
- package/build/client/assets/_index-BCLDp_mg.js +1 -0
- package/build/client/assets/_layout-CTmjtKOZ.js +1 -0
- package/build/client/assets/_layout-HsJ3Zu5t.js +1 -0
- package/build/client/assets/_layout-OcS85aOt.js +1 -0
- package/build/client/assets/app-sidebar-Bm6e4kn_.js +1 -0
- package/build/client/assets/app-sidebar-D2Nsi85j.js +1 -0
- package/build/client/assets/auth-provider-rkzBVtYX.js +1 -0
- package/build/client/assets/brand-CbTWw97e.js +1 -0
- package/build/client/assets/browser-ponyfill-D3yQFvRu.js +2 -0
- package/build/client/assets/button-DtZhoqpk.js +1 -0
- package/build/client/assets/check-D5D2EGI4.js +1 -0
- package/build/client/assets/checkbox-B35Nn166.js +1 -0
- package/build/client/assets/chunk-JG3XND5A-BetDbdG0.js +1 -0
- package/build/client/assets/chunk-UIGDSWPH-DeiamgQc.js +26 -0
- package/build/client/assets/chunk-vBKQ29Cd.js +1 -0
- package/build/client/assets/circle-alert-DB4JluX5.js +1 -0
- package/build/client/assets/compare-Br3z3FUS-BXkA2ojG.js +2 -0
- package/build/client/assets/compiler-runtime-Co9svCia.js +1 -0
- package/build/client/assets/config-ChcA_Pkv.js +1 -0
- package/build/client/assets/createReactComponent-C2TSpqC7.js +1 -0
- package/build/client/assets/dialog-CQrpvURm.js +1 -0
- package/build/client/assets/dist-B6TkSbxV.js +1 -0
- package/build/client/assets/dist-BNO39Rfs.js +1 -0
- package/build/client/assets/dist-BWnI-4xl.js +1 -0
- package/build/client/assets/dist-CA21wN5I.js +1 -0
- package/build/client/assets/dist-CBNvQRbZ.js +1 -0
- package/build/client/assets/dist-CYRPrwOb.js +1 -0
- package/build/client/assets/dist-DKtC0FSi.js +1 -0
- package/build/client/assets/dist-DhfcebhF.js +1 -0
- package/build/client/assets/dist-VqaKdvZu.js +1 -0
- package/build/client/assets/dist-Yn6lj8QC.js +5 -0
- package/build/client/assets/dropdown-menu-CbzduuDa.js +1 -0
- package/build/client/assets/empty-DQRarCKT.js +1 -0
- package/build/client/assets/entry.client-BN1GPjAL.js +10 -0
- package/build/client/assets/es2015-BJguufLZ.js +41 -0
- package/build/client/assets/eye-Ctrln70x.js +1 -0
- package/build/client/assets/file-preview-dialog-BRkWSRN4.js +14 -0
- package/build/client/assets/index-Del2yBnb.js +1 -0
- package/build/client/assets/initReactI18next-CyHiepAw.js +1 -0
- package/build/client/assets/input-V1lM1yoz.js +1 -0
- package/build/client/assets/jsx-runtime-SCjaiuzT.js +1 -0
- package/build/client/assets/lock-Bj7dxHab.js +1 -0
- package/build/client/assets/manifest-ca813980.js +1 -0
- package/build/client/assets/nav-user-BqPUBe9x.js +1 -0
- package/build/client/assets/nav-user-Yu7wt7b_.js +1 -0
- package/build/client/assets/org-switcher-BIuearbE.js +1 -0
- package/build/client/assets/password-input-bor7e4TM.js +1 -0
- package/build/client/assets/react-dom-Bhi-1tDD.js +1 -0
- package/build/client/assets/realtime-BmU1LPhx.js +1 -0
- package/build/client/assets/root-CS5YIV-V.js +3 -0
- package/build/client/assets/root-D0CFuQYc.css +2 -0
- package/build/client/assets/route-B9cwW-UK.js +1 -0
- package/build/client/assets/route-BD2nV1q2.js +1 -0
- package/build/client/assets/route-BEnDcljt.js +1 -0
- package/build/client/assets/route-BR4LdxHR.js +1 -0
- package/build/client/assets/route-BU5TYmVE.js +0 -0
- package/build/client/assets/route-BVmIPEvK.js +11 -0
- package/build/client/assets/route-BY244T48.js +1 -0
- package/build/client/assets/route-Bwd903CU.js +1 -0
- package/build/client/assets/route-CN9iChOk.js +1 -0
- package/build/client/assets/route-CQ3p9Qb1.js +1 -0
- package/build/client/assets/route-CVLnTONw.js +1 -0
- package/build/client/assets/route-CoMZag4T.js +1 -0
- package/build/client/assets/route-CsYSLbnx.js +1 -0
- package/build/client/assets/route-DWNrq2GE.js +1 -0
- package/build/client/assets/route-Dxfmap_u.js +1 -0
- package/build/client/assets/route-Gnx1fkRX.js +0 -0
- package/build/client/assets/route-NduA4SS_.js +1 -0
- package/build/client/assets/route-u2hskgE_.js +1 -0
- package/build/client/assets/route-v9Jwv-AW.js +1 -0
- package/build/client/assets/select-DATRE76_.js +1 -0
- package/build/client/assets/separator-Cla0V581.js +1 -0
- package/build/client/assets/shim-TRiHENXu.js +1 -0
- package/build/client/assets/sidebar-CqrdL512.js +1 -0
- package/build/client/assets/site-header-CZO3qBhf.js +1 -0
- package/build/client/assets/site-header-CwidwSv1.js +1 -0
- package/build/client/assets/social-providers-Bz7f1_yd.js +1 -0
- package/build/client/assets/test-WdoqKbLa.js +1 -0
- package/build/client/assets/tooltip-BeDraHQn.js +1 -0
- package/build/client/assets/trpc-C1CjVipH.js +6 -0
- package/build/client/assets/trust-indicator-D4tEs4Dr.js +20 -0
- package/build/client/assets/use-file-upload-CNPfWC6W.js +1 -0
- package/build/client/assets/useTranslation-Bz7VuQ7j.js +1 -0
- package/build/client/assets/utils-InBzhUf_.js +1 -0
- package/build/client/assets/x-4CC8aqOW.js +1 -0
- package/build/client/favicon.ico +0 -0
- package/build/client/locales/en/emails.json +11 -0
- package/build/client/locales/en/translation.json +411 -0
- package/build/client/locales/zh-CN/emails.json +11 -0
- package/build/client/locales/zh-CN/translation.json +1 -0
- package/build/client/locales/zh-TW/emails.json +11 -0
- package/build/client/locales/zh-TW/translation.json +1 -0
- package/build/client/logo-invert.png +0 -0
- package/build/client/logo.png +0 -0
- package/build/lib/adapter-factory-CLtf7vT5-CTKiMV2u.mjs +19675 -0
- package/build/lib/bun-sqlite-dialect-DN7EKoIB-0pWIoG0L.mjs +155 -0
- package/build/lib/chunk-BYI67GdN.mjs +1 -0
- package/build/lib/chunk-CkKlU7xI.mjs +44 -0
- package/build/lib/client-BtuhFgvy.mjs +65 -0
- package/build/lib/client.d.ts +2272 -0
- package/build/lib/client.js +24 -0
- package/build/lib/date.d.ts +1 -0
- package/build/lib/date.js +1 -0
- package/build/lib/dialect-BeMwdQoz-D41NdSow.mjs +72 -0
- package/build/lib/dist-cjs-B43A5HXv.mjs +169 -0
- package/build/lib/dist-cjs-B_wkbabY.mjs +214 -0
- package/build/lib/dist-cjs-BmbYbMhp.mjs +143 -0
- package/build/lib/dist-cjs-Cc337rwW.mjs +7 -0
- package/build/lib/dist-cjs-CgzfN8xY.mjs +4974 -0
- package/build/lib/dist-cjs-DBFcizQf.mjs +50 -0
- package/build/lib/dist-cjs-DC-UL-xx.mjs +97 -0
- package/build/lib/dist-cjs-DHlTgXUO.mjs +6975 -0
- package/build/lib/dist-cjs-DYAmJYzN.mjs +323 -0
- package/build/lib/dist-cjs-Ddm6Stp9.mjs +1294 -0
- package/build/lib/dist-cjs-GFGBhaZg.mjs +84 -0
- package/build/lib/dist-cjs-ieCOxrOi.mjs +181 -0
- package/build/lib/dist-cjs-nbOGa7i_.mjs +47 -0
- package/build/lib/dist-cjs-pN6ekzMW.mjs +66 -0
- package/build/lib/dist-cjs-yYlQ1OiO.mjs +102 -0
- package/build/lib/esm-DPet4lFW.mjs +15816 -0
- package/build/lib/event-streams-x9fP9BzF.mjs +185 -0
- package/build/lib/file-preview-dialog-Cugg8tEc.mjs +59 -0
- package/build/lib/kysely-adapter-BTWfu5rn.mjs +183 -0
- package/build/lib/magic-string.es-jZcifc5m.mjs +1013 -0
- package/build/lib/memory-adapter-DiU519m9.mjs +147 -0
- package/build/lib/node-ponyfill-Dmm1SWTU.mjs +38212 -0
- package/build/lib/node-sqlite-dialect-BqISUSC3-DYvTLBpY.mjs +155 -0
- package/build/lib/package-DfozRyK6.mjs +5 -0
- package/build/lib/react-dom-CPjM_WCt.mjs +42 -0
- package/build/lib/server.d.mts +76273 -0
- package/build/lib/server.mjs +325 -0
- package/build/lib/sso-oidc-Qom0PEDW.mjs +1036 -0
- package/build/lib/sts-CLRaHSW_.mjs +13 -0
- package/build/lib/sts-Dl7yZqX1.mjs +1405 -0
- package/build/lib/test.d.mts +8922 -0
- package/build/lib/test.mjs +175650 -0
- package/build/lib/ui/index.d.ts +1643 -0
- package/build/lib/ui/index.js +160 -0
- package/build/lib/utils.d.ts +21 -0
- package/build/lib/utils.js +1 -0
- package/build/lib/zod.d.ts +1 -0
- package/build/lib/zod.js +23 -0
- package/build/main.js +2383 -0
- package/build/server/assets/context-BoNg86Eh.js +35 -0
- package/build/server/assets/dialog-B8YbGNaz.js +54 -0
- package/build/server/assets/file-preview-dialog-qWSViOWQ.js +15 -0
- package/build/server/assets/react-CFQ4y0AA.js +13 -0
- package/build/server/assets/react-dom-Ca1YUVo2.js +5 -0
- package/build/server/assets/server-build-BMOfm0ad.js +118 -0
- package/build/server/assets/server.node-B2oksIp8.js +196 -0
- package/build/server/assets/server.node-VQzoub0A.js +1 -0
- package/build/server/index.js +123 -0
- package/package.json +224 -0
|
@@ -0,0 +1,1036 @@
|
|
|
1
|
+
import { n as __esm } from "./chunk-CkKlU7xI.mjs";
|
|
2
|
+
import { E as TypeRegistry, F as require_dist_cjs$2, I as require_dist_cjs$4, L as require_dist_cjs, O as getSchemaSerdePlugin, P as require_dist_cjs$3, t as require_dist_cjs$1, w as init_schema } from "./dist-cjs-CgzfN8xY.mjs";
|
|
3
|
+
import "./dist-cjs-DC-UL-xx.mjs";
|
|
4
|
+
import "./dist-cjs-B_wkbabY.mjs";
|
|
5
|
+
import "./dist-cjs-GFGBhaZg.mjs";
|
|
6
|
+
import { n as require_dist_cjs$6, t as require_dist_cjs$5 } from "./dist-cjs-yYlQ1OiO.mjs";
|
|
7
|
+
import { C as AwsRestJsonProtocol, D as NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, E as resolveAwsSdkSigV4Config, F as DefaultIdentityProviderConfig, I as getHttpSigningPlugin, N as init_dist_es$1, O as AwsSdkSigV4Signer, P as NoAuthSigner, R as getHttpAuthSchemeEndpointRuleSetPlugin, _ as init_dist_es, a as require_dist_cjs$9, c as require_dist_cjs$21, d as require_dist_cjs$7, f as require_dist_cjs$8, h as require_dist_cjs$17, i as require_dist_cjs$11, j as require_dist_cjs$22, l as require_dist_cjs$10, m as require_dist_cjs$18, n as require_dist_cjs$15, o as require_dist_cjs$12, p as require_dist_cjs$19, r as require_dist_cjs$13, s as require_dist_cjs$14, t as require_dist_cjs$16, u as require_dist_cjs$20, v as init_protocols } from "./dist-cjs-DHlTgXUO.mjs";
|
|
8
|
+
import { t as require_dist_cjs$23 } from "./dist-cjs-DBFcizQf.mjs";
|
|
9
|
+
import { o as emitWarningIfUnsupportedVersion } from "./client-BtuhFgvy.mjs";
|
|
10
|
+
import { t as version } from "./package-DfozRyK6.mjs";
|
|
11
|
+
|
|
12
|
+
//#region node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js
|
|
13
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
14
|
+
return {
|
|
15
|
+
schemeId: "aws.auth#sigv4",
|
|
16
|
+
signingProperties: {
|
|
17
|
+
name: "sso-oauth",
|
|
18
|
+
region: authParameters.region
|
|
19
|
+
},
|
|
20
|
+
propertiesExtractor: (config, context) => ({ signingProperties: {
|
|
21
|
+
config,
|
|
22
|
+
context
|
|
23
|
+
} })
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
function createSmithyApiNoAuthHttpAuthOption(authParameters) {
|
|
27
|
+
return { schemeId: "smithy.api#noAuth" };
|
|
28
|
+
}
|
|
29
|
+
var import_dist_cjs$33, defaultSSOOIDCHttpAuthSchemeParametersProvider, defaultSSOOIDCHttpAuthSchemeProvider, resolveHttpAuthSchemeConfig;
|
|
30
|
+
var init_httpAuthSchemeProvider = __esm({ "node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js": (() => {
|
|
31
|
+
init_dist_es();
|
|
32
|
+
import_dist_cjs$33 = require_dist_cjs();
|
|
33
|
+
defaultSSOOIDCHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
34
|
+
return {
|
|
35
|
+
operation: (0, import_dist_cjs$33.getSmithyContext)(context).operation,
|
|
36
|
+
region: await (0, import_dist_cjs$33.normalizeProvider)(config.region)() || (() => {
|
|
37
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
38
|
+
})()
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
defaultSSOOIDCHttpAuthSchemeProvider = (authParameters) => {
|
|
42
|
+
const options = [];
|
|
43
|
+
switch (authParameters.operation) {
|
|
44
|
+
case "CreateToken":
|
|
45
|
+
options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
|
|
46
|
+
break;
|
|
47
|
+
default: options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
48
|
+
}
|
|
49
|
+
return options;
|
|
50
|
+
};
|
|
51
|
+
resolveHttpAuthSchemeConfig = (config) => {
|
|
52
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
53
|
+
return Object.assign(config_0, { authSchemePreference: (0, import_dist_cjs$33.normalizeProvider)(config.authSchemePreference ?? []) });
|
|
54
|
+
};
|
|
55
|
+
}) });
|
|
56
|
+
|
|
57
|
+
//#endregion
|
|
58
|
+
//#region node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/EndpointParameters.js
|
|
59
|
+
var resolveClientEndpointParameters, commonParams;
|
|
60
|
+
var init_EndpointParameters = __esm({ "node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/EndpointParameters.js": (() => {
|
|
61
|
+
resolveClientEndpointParameters = (options) => {
|
|
62
|
+
return Object.assign(options, {
|
|
63
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
64
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
65
|
+
defaultSigningName: "sso-oauth"
|
|
66
|
+
});
|
|
67
|
+
};
|
|
68
|
+
commonParams = {
|
|
69
|
+
UseFIPS: {
|
|
70
|
+
type: "builtInParams",
|
|
71
|
+
name: "useFipsEndpoint"
|
|
72
|
+
},
|
|
73
|
+
Endpoint: {
|
|
74
|
+
type: "builtInParams",
|
|
75
|
+
name: "endpoint"
|
|
76
|
+
},
|
|
77
|
+
Region: {
|
|
78
|
+
type: "builtInParams",
|
|
79
|
+
name: "region"
|
|
80
|
+
},
|
|
81
|
+
UseDualStack: {
|
|
82
|
+
type: "builtInParams",
|
|
83
|
+
name: "useDualstackEndpoint"
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
}) });
|
|
87
|
+
|
|
88
|
+
//#endregion
|
|
89
|
+
//#region node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js
|
|
90
|
+
var u, v, w, x, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, _data, ruleSet;
|
|
91
|
+
var init_ruleset = __esm({ "node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js": (() => {
|
|
92
|
+
u = "required", v = "fn", w = "argv", x = "ref";
|
|
93
|
+
a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = {
|
|
94
|
+
[u]: false,
|
|
95
|
+
"type": "string"
|
|
96
|
+
}, j = {
|
|
97
|
+
[u]: true,
|
|
98
|
+
"default": false,
|
|
99
|
+
"type": "boolean"
|
|
100
|
+
}, k = { [x]: "Endpoint" }, l = {
|
|
101
|
+
[v]: c,
|
|
102
|
+
[w]: [{ [x]: "UseFIPS" }, true]
|
|
103
|
+
}, m = {
|
|
104
|
+
[v]: c,
|
|
105
|
+
[w]: [{ [x]: "UseDualStack" }, true]
|
|
106
|
+
}, n = {}, o = {
|
|
107
|
+
[v]: h,
|
|
108
|
+
[w]: [{ [x]: g }, "supportsFIPS"]
|
|
109
|
+
}, p = { [x]: g }, q = {
|
|
110
|
+
[v]: c,
|
|
111
|
+
[w]: [true, {
|
|
112
|
+
[v]: h,
|
|
113
|
+
[w]: [p, "supportsDualStack"]
|
|
114
|
+
}]
|
|
115
|
+
}, r = [l], s = [m], t = [{ [x]: "Region" }];
|
|
116
|
+
_data = {
|
|
117
|
+
version: "1.0",
|
|
118
|
+
parameters: {
|
|
119
|
+
Region: i,
|
|
120
|
+
UseDualStack: j,
|
|
121
|
+
UseFIPS: j,
|
|
122
|
+
Endpoint: i
|
|
123
|
+
},
|
|
124
|
+
rules: [
|
|
125
|
+
{
|
|
126
|
+
conditions: [{
|
|
127
|
+
[v]: b,
|
|
128
|
+
[w]: [k]
|
|
129
|
+
}],
|
|
130
|
+
rules: [
|
|
131
|
+
{
|
|
132
|
+
conditions: r,
|
|
133
|
+
error: "Invalid Configuration: FIPS and custom endpoint are not supported",
|
|
134
|
+
type: d
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
conditions: s,
|
|
138
|
+
error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
|
|
139
|
+
type: d
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
endpoint: {
|
|
143
|
+
url: k,
|
|
144
|
+
properties: n,
|
|
145
|
+
headers: n
|
|
146
|
+
},
|
|
147
|
+
type: e
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
type: f
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
conditions: [{
|
|
154
|
+
[v]: b,
|
|
155
|
+
[w]: t
|
|
156
|
+
}],
|
|
157
|
+
rules: [{
|
|
158
|
+
conditions: [{
|
|
159
|
+
[v]: "aws.partition",
|
|
160
|
+
[w]: t,
|
|
161
|
+
assign: g
|
|
162
|
+
}],
|
|
163
|
+
rules: [
|
|
164
|
+
{
|
|
165
|
+
conditions: [l, m],
|
|
166
|
+
rules: [{
|
|
167
|
+
conditions: [{
|
|
168
|
+
[v]: c,
|
|
169
|
+
[w]: [a, o]
|
|
170
|
+
}, q],
|
|
171
|
+
rules: [{
|
|
172
|
+
endpoint: {
|
|
173
|
+
url: "https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
174
|
+
properties: n,
|
|
175
|
+
headers: n
|
|
176
|
+
},
|
|
177
|
+
type: e
|
|
178
|
+
}],
|
|
179
|
+
type: f
|
|
180
|
+
}, {
|
|
181
|
+
error: "FIPS and DualStack are enabled, but this partition does not support one or both",
|
|
182
|
+
type: d
|
|
183
|
+
}],
|
|
184
|
+
type: f
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
conditions: r,
|
|
188
|
+
rules: [{
|
|
189
|
+
conditions: [{
|
|
190
|
+
[v]: c,
|
|
191
|
+
[w]: [o, a]
|
|
192
|
+
}],
|
|
193
|
+
rules: [{
|
|
194
|
+
conditions: [{
|
|
195
|
+
[v]: "stringEquals",
|
|
196
|
+
[w]: [{
|
|
197
|
+
[v]: h,
|
|
198
|
+
[w]: [p, "name"]
|
|
199
|
+
}, "aws-us-gov"]
|
|
200
|
+
}],
|
|
201
|
+
endpoint: {
|
|
202
|
+
url: "https://oidc.{Region}.amazonaws.com",
|
|
203
|
+
properties: n,
|
|
204
|
+
headers: n
|
|
205
|
+
},
|
|
206
|
+
type: e
|
|
207
|
+
}, {
|
|
208
|
+
endpoint: {
|
|
209
|
+
url: "https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
210
|
+
properties: n,
|
|
211
|
+
headers: n
|
|
212
|
+
},
|
|
213
|
+
type: e
|
|
214
|
+
}],
|
|
215
|
+
type: f
|
|
216
|
+
}, {
|
|
217
|
+
error: "FIPS is enabled but this partition does not support FIPS",
|
|
218
|
+
type: d
|
|
219
|
+
}],
|
|
220
|
+
type: f
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
conditions: s,
|
|
224
|
+
rules: [{
|
|
225
|
+
conditions: [q],
|
|
226
|
+
rules: [{
|
|
227
|
+
endpoint: {
|
|
228
|
+
url: "https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
229
|
+
properties: n,
|
|
230
|
+
headers: n
|
|
231
|
+
},
|
|
232
|
+
type: e
|
|
233
|
+
}],
|
|
234
|
+
type: f
|
|
235
|
+
}, {
|
|
236
|
+
error: "DualStack is enabled but this partition does not support DualStack",
|
|
237
|
+
type: d
|
|
238
|
+
}],
|
|
239
|
+
type: f
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
endpoint: {
|
|
243
|
+
url: "https://oidc.{Region}.{PartitionResult#dnsSuffix}",
|
|
244
|
+
properties: n,
|
|
245
|
+
headers: n
|
|
246
|
+
},
|
|
247
|
+
type: e
|
|
248
|
+
}
|
|
249
|
+
],
|
|
250
|
+
type: f
|
|
251
|
+
}],
|
|
252
|
+
type: f
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
error: "Invalid Configuration: Missing Region",
|
|
256
|
+
type: d
|
|
257
|
+
}
|
|
258
|
+
]
|
|
259
|
+
};
|
|
260
|
+
ruleSet = _data;
|
|
261
|
+
}) });
|
|
262
|
+
|
|
263
|
+
//#endregion
|
|
264
|
+
//#region node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js
|
|
265
|
+
var import_dist_cjs$31, import_dist_cjs$32, cache, defaultEndpointResolver;
|
|
266
|
+
var init_endpointResolver = __esm({ "node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js": (() => {
|
|
267
|
+
import_dist_cjs$31 = require_dist_cjs$7();
|
|
268
|
+
import_dist_cjs$32 = require_dist_cjs$8();
|
|
269
|
+
init_ruleset();
|
|
270
|
+
cache = new import_dist_cjs$32.EndpointCache({
|
|
271
|
+
size: 50,
|
|
272
|
+
params: [
|
|
273
|
+
"Endpoint",
|
|
274
|
+
"Region",
|
|
275
|
+
"UseDualStack",
|
|
276
|
+
"UseFIPS"
|
|
277
|
+
]
|
|
278
|
+
});
|
|
279
|
+
defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
280
|
+
return cache.get(endpointParams, () => (0, import_dist_cjs$32.resolveEndpoint)(ruleSet, {
|
|
281
|
+
endpointParams,
|
|
282
|
+
logger: context.logger
|
|
283
|
+
}));
|
|
284
|
+
};
|
|
285
|
+
import_dist_cjs$32.customEndpointFunctions.aws = import_dist_cjs$31.awsEndpointFunctions;
|
|
286
|
+
}) });
|
|
287
|
+
|
|
288
|
+
//#endregion
|
|
289
|
+
//#region node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js
|
|
290
|
+
var import_dist_cjs$27, import_dist_cjs$28, import_dist_cjs$29, import_dist_cjs$30, getRuntimeConfig$1;
|
|
291
|
+
var init_runtimeConfig_shared = __esm({ "node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js": (() => {
|
|
292
|
+
init_dist_es();
|
|
293
|
+
init_protocols();
|
|
294
|
+
init_dist_es$1();
|
|
295
|
+
import_dist_cjs$27 = require_dist_cjs$1();
|
|
296
|
+
import_dist_cjs$28 = require_dist_cjs$5();
|
|
297
|
+
import_dist_cjs$29 = require_dist_cjs$2();
|
|
298
|
+
import_dist_cjs$30 = require_dist_cjs$23();
|
|
299
|
+
init_httpAuthSchemeProvider();
|
|
300
|
+
init_endpointResolver();
|
|
301
|
+
getRuntimeConfig$1 = (config) => {
|
|
302
|
+
return {
|
|
303
|
+
apiVersion: "2019-06-10",
|
|
304
|
+
base64Decoder: config?.base64Decoder ?? import_dist_cjs$29.fromBase64,
|
|
305
|
+
base64Encoder: config?.base64Encoder ?? import_dist_cjs$29.toBase64,
|
|
306
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
307
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
308
|
+
extensions: config?.extensions ?? [],
|
|
309
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSSOOIDCHttpAuthSchemeProvider,
|
|
310
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [{
|
|
311
|
+
schemeId: "aws.auth#sigv4",
|
|
312
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
313
|
+
signer: new AwsSdkSigV4Signer()
|
|
314
|
+
}, {
|
|
315
|
+
schemeId: "smithy.api#noAuth",
|
|
316
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
|
|
317
|
+
signer: new NoAuthSigner()
|
|
318
|
+
}],
|
|
319
|
+
logger: config?.logger ?? new import_dist_cjs$27.NoOpLogger(),
|
|
320
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.ssooidc" }),
|
|
321
|
+
serviceId: config?.serviceId ?? "SSO OIDC",
|
|
322
|
+
urlParser: config?.urlParser ?? import_dist_cjs$28.parseUrl,
|
|
323
|
+
utf8Decoder: config?.utf8Decoder ?? import_dist_cjs$30.fromUtf8,
|
|
324
|
+
utf8Encoder: config?.utf8Encoder ?? import_dist_cjs$30.toUtf8
|
|
325
|
+
};
|
|
326
|
+
};
|
|
327
|
+
}) });
|
|
328
|
+
|
|
329
|
+
//#endregion
|
|
330
|
+
//#region node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js
|
|
331
|
+
var import_dist_cjs$16, import_dist_cjs$17, import_dist_cjs$18, import_dist_cjs$19, import_dist_cjs$20, import_dist_cjs$21, import_dist_cjs$22, import_dist_cjs$23, import_dist_cjs$24, import_dist_cjs$25, import_dist_cjs$26, getRuntimeConfig;
|
|
332
|
+
var init_runtimeConfig = __esm({ "node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js": (() => {
|
|
333
|
+
init_dist_es();
|
|
334
|
+
import_dist_cjs$16 = require_dist_cjs$9();
|
|
335
|
+
import_dist_cjs$17 = require_dist_cjs$10();
|
|
336
|
+
import_dist_cjs$18 = require_dist_cjs$11();
|
|
337
|
+
import_dist_cjs$19 = require_dist_cjs$12();
|
|
338
|
+
import_dist_cjs$20 = require_dist_cjs$6();
|
|
339
|
+
import_dist_cjs$21 = require_dist_cjs$3();
|
|
340
|
+
import_dist_cjs$22 = require_dist_cjs$13();
|
|
341
|
+
import_dist_cjs$23 = require_dist_cjs$14();
|
|
342
|
+
init_runtimeConfig_shared();
|
|
343
|
+
import_dist_cjs$24 = require_dist_cjs$1();
|
|
344
|
+
import_dist_cjs$25 = require_dist_cjs$15();
|
|
345
|
+
import_dist_cjs$26 = require_dist_cjs$1();
|
|
346
|
+
getRuntimeConfig = (config) => {
|
|
347
|
+
(0, import_dist_cjs$26.emitWarningIfUnsupportedVersion)(process.version);
|
|
348
|
+
const defaultsMode = (0, import_dist_cjs$25.resolveDefaultsModeConfig)(config);
|
|
349
|
+
const defaultConfigProvider = () => defaultsMode().then(import_dist_cjs$24.loadConfigsForDefaultMode);
|
|
350
|
+
const clientSharedValues = getRuntimeConfig$1(config);
|
|
351
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
352
|
+
const loaderConfig = {
|
|
353
|
+
profile: config?.profile,
|
|
354
|
+
logger: clientSharedValues.logger
|
|
355
|
+
};
|
|
356
|
+
return {
|
|
357
|
+
...clientSharedValues,
|
|
358
|
+
...config,
|
|
359
|
+
runtime: "node",
|
|
360
|
+
defaultsMode,
|
|
361
|
+
authSchemePreference: config?.authSchemePreference ?? (0, import_dist_cjs$20.loadConfig)(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
362
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? import_dist_cjs$22.calculateBodyLength,
|
|
363
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, import_dist_cjs$16.createDefaultUserAgentProvider)({
|
|
364
|
+
serviceId: clientSharedValues.serviceId,
|
|
365
|
+
clientVersion: version
|
|
366
|
+
}),
|
|
367
|
+
maxAttempts: config?.maxAttempts ?? (0, import_dist_cjs$20.loadConfig)(import_dist_cjs$19.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
368
|
+
region: config?.region ?? (0, import_dist_cjs$20.loadConfig)(import_dist_cjs$17.NODE_REGION_CONFIG_OPTIONS, {
|
|
369
|
+
...import_dist_cjs$17.NODE_REGION_CONFIG_FILE_OPTIONS,
|
|
370
|
+
...loaderConfig
|
|
371
|
+
}),
|
|
372
|
+
requestHandler: import_dist_cjs$21.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
373
|
+
retryMode: config?.retryMode ?? (0, import_dist_cjs$20.loadConfig)({
|
|
374
|
+
...import_dist_cjs$19.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
375
|
+
default: async () => (await defaultConfigProvider()).retryMode || import_dist_cjs$23.DEFAULT_RETRY_MODE
|
|
376
|
+
}, config),
|
|
377
|
+
sha256: config?.sha256 ?? import_dist_cjs$18.Hash.bind(null, "sha256"),
|
|
378
|
+
streamCollector: config?.streamCollector ?? import_dist_cjs$21.streamCollector,
|
|
379
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, import_dist_cjs$20.loadConfig)(import_dist_cjs$17.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
380
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (0, import_dist_cjs$20.loadConfig)(import_dist_cjs$17.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
381
|
+
userAgentAppId: config?.userAgentAppId ?? (0, import_dist_cjs$20.loadConfig)(import_dist_cjs$16.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig)
|
|
382
|
+
};
|
|
383
|
+
};
|
|
384
|
+
}) });
|
|
385
|
+
|
|
386
|
+
//#endregion
|
|
387
|
+
//#region node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.js
|
|
388
|
+
var getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig;
|
|
389
|
+
var init_httpAuthExtensionConfiguration = __esm({ "node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.js": (() => {
|
|
390
|
+
getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
391
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
392
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
393
|
+
let _credentials = runtimeConfig.credentials;
|
|
394
|
+
return {
|
|
395
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
396
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
397
|
+
if (index === -1) _httpAuthSchemes.push(httpAuthScheme);
|
|
398
|
+
else _httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
399
|
+
},
|
|
400
|
+
httpAuthSchemes() {
|
|
401
|
+
return _httpAuthSchemes;
|
|
402
|
+
},
|
|
403
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
404
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
405
|
+
},
|
|
406
|
+
httpAuthSchemeProvider() {
|
|
407
|
+
return _httpAuthSchemeProvider;
|
|
408
|
+
},
|
|
409
|
+
setCredentials(credentials) {
|
|
410
|
+
_credentials = credentials;
|
|
411
|
+
},
|
|
412
|
+
credentials() {
|
|
413
|
+
return _credentials;
|
|
414
|
+
}
|
|
415
|
+
};
|
|
416
|
+
};
|
|
417
|
+
resolveHttpAuthRuntimeConfig = (config) => {
|
|
418
|
+
return {
|
|
419
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
420
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
421
|
+
credentials: config.credentials()
|
|
422
|
+
};
|
|
423
|
+
};
|
|
424
|
+
}) });
|
|
425
|
+
|
|
426
|
+
//#endregion
|
|
427
|
+
//#region node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js
|
|
428
|
+
var import_dist_cjs$13, import_dist_cjs$14, import_dist_cjs$15, resolveRuntimeExtensions;
|
|
429
|
+
var init_runtimeExtensions = __esm({ "node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js": (() => {
|
|
430
|
+
import_dist_cjs$13 = require_dist_cjs$16();
|
|
431
|
+
import_dist_cjs$14 = require_dist_cjs$4();
|
|
432
|
+
import_dist_cjs$15 = require_dist_cjs$1();
|
|
433
|
+
init_httpAuthExtensionConfiguration();
|
|
434
|
+
resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
435
|
+
const extensionConfiguration = Object.assign((0, import_dist_cjs$13.getAwsRegionExtensionConfiguration)(runtimeConfig), (0, import_dist_cjs$15.getDefaultExtensionConfiguration)(runtimeConfig), (0, import_dist_cjs$14.getHttpHandlerExtensionConfiguration)(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
436
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
437
|
+
return Object.assign(runtimeConfig, (0, import_dist_cjs$13.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), (0, import_dist_cjs$15.resolveDefaultRuntimeConfig)(extensionConfiguration), (0, import_dist_cjs$14.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
438
|
+
};
|
|
439
|
+
}) });
|
|
440
|
+
|
|
441
|
+
//#endregion
|
|
442
|
+
//#region node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js
|
|
443
|
+
var import_dist_cjs$4, import_dist_cjs$5, import_dist_cjs$6, import_dist_cjs$7, import_dist_cjs$8, import_dist_cjs$9, import_dist_cjs$10, import_dist_cjs$11, import_dist_cjs$12, SSOOIDCClient;
|
|
444
|
+
var init_SSOOIDCClient = __esm({ "node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js": (() => {
|
|
445
|
+
import_dist_cjs$4 = require_dist_cjs$17();
|
|
446
|
+
import_dist_cjs$5 = require_dist_cjs$18();
|
|
447
|
+
import_dist_cjs$6 = require_dist_cjs$19();
|
|
448
|
+
import_dist_cjs$7 = require_dist_cjs$20();
|
|
449
|
+
import_dist_cjs$8 = require_dist_cjs$10();
|
|
450
|
+
init_dist_es$1();
|
|
451
|
+
init_schema();
|
|
452
|
+
import_dist_cjs$9 = require_dist_cjs$21();
|
|
453
|
+
import_dist_cjs$10 = require_dist_cjs$22();
|
|
454
|
+
import_dist_cjs$11 = require_dist_cjs$12();
|
|
455
|
+
import_dist_cjs$12 = require_dist_cjs$1();
|
|
456
|
+
init_httpAuthSchemeProvider();
|
|
457
|
+
init_EndpointParameters();
|
|
458
|
+
init_runtimeConfig();
|
|
459
|
+
init_runtimeExtensions();
|
|
460
|
+
SSOOIDCClient = class extends import_dist_cjs$12.Client {
|
|
461
|
+
config;
|
|
462
|
+
constructor(...[configuration]) {
|
|
463
|
+
const _config_0 = getRuntimeConfig(configuration || {});
|
|
464
|
+
super(_config_0);
|
|
465
|
+
this.initConfig = _config_0;
|
|
466
|
+
this.config = resolveRuntimeExtensions(resolveHttpAuthSchemeConfig((0, import_dist_cjs$10.resolveEndpointConfig)((0, import_dist_cjs$4.resolveHostHeaderConfig)((0, import_dist_cjs$8.resolveRegionConfig)((0, import_dist_cjs$11.resolveRetryConfig)((0, import_dist_cjs$7.resolveUserAgentConfig)(resolveClientEndpointParameters(_config_0))))))), configuration?.extensions || []);
|
|
467
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
468
|
+
this.middlewareStack.use((0, import_dist_cjs$7.getUserAgentPlugin)(this.config));
|
|
469
|
+
this.middlewareStack.use((0, import_dist_cjs$11.getRetryPlugin)(this.config));
|
|
470
|
+
this.middlewareStack.use((0, import_dist_cjs$9.getContentLengthPlugin)(this.config));
|
|
471
|
+
this.middlewareStack.use((0, import_dist_cjs$4.getHostHeaderPlugin)(this.config));
|
|
472
|
+
this.middlewareStack.use((0, import_dist_cjs$5.getLoggerPlugin)(this.config));
|
|
473
|
+
this.middlewareStack.use((0, import_dist_cjs$6.getRecursionDetectionPlugin)(this.config));
|
|
474
|
+
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
475
|
+
httpAuthSchemeParametersProvider: defaultSSOOIDCHttpAuthSchemeParametersProvider,
|
|
476
|
+
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({ "aws.auth#sigv4": config.credentials })
|
|
477
|
+
}));
|
|
478
|
+
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
|
479
|
+
}
|
|
480
|
+
destroy() {
|
|
481
|
+
super.destroy();
|
|
482
|
+
}
|
|
483
|
+
};
|
|
484
|
+
}) });
|
|
485
|
+
|
|
486
|
+
//#endregion
|
|
487
|
+
//#region node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/SSOOIDCServiceException.js
|
|
488
|
+
var import_dist_cjs$3, SSOOIDCServiceException;
|
|
489
|
+
var init_SSOOIDCServiceException = __esm({ "node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/SSOOIDCServiceException.js": (() => {
|
|
490
|
+
import_dist_cjs$3 = require_dist_cjs$1();
|
|
491
|
+
SSOOIDCServiceException = class SSOOIDCServiceException extends import_dist_cjs$3.ServiceException {
|
|
492
|
+
constructor(options) {
|
|
493
|
+
super(options);
|
|
494
|
+
Object.setPrototypeOf(this, SSOOIDCServiceException.prototype);
|
|
495
|
+
}
|
|
496
|
+
};
|
|
497
|
+
}) });
|
|
498
|
+
|
|
499
|
+
//#endregion
|
|
500
|
+
//#region node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/models_0.js
|
|
501
|
+
var AccessDeniedException, AuthorizationPendingException, ExpiredTokenException, InternalServerException, InvalidClientException, InvalidGrantException, InvalidRequestException, InvalidScopeException, SlowDownException, UnauthorizedClientException, UnsupportedGrantTypeException;
|
|
502
|
+
var init_models_0 = __esm({ "node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/models_0.js": (() => {
|
|
503
|
+
init_SSOOIDCServiceException();
|
|
504
|
+
AccessDeniedException = class AccessDeniedException extends SSOOIDCServiceException {
|
|
505
|
+
name = "AccessDeniedException";
|
|
506
|
+
$fault = "client";
|
|
507
|
+
error;
|
|
508
|
+
reason;
|
|
509
|
+
error_description;
|
|
510
|
+
constructor(opts) {
|
|
511
|
+
super({
|
|
512
|
+
name: "AccessDeniedException",
|
|
513
|
+
$fault: "client",
|
|
514
|
+
...opts
|
|
515
|
+
});
|
|
516
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
517
|
+
this.error = opts.error;
|
|
518
|
+
this.reason = opts.reason;
|
|
519
|
+
this.error_description = opts.error_description;
|
|
520
|
+
}
|
|
521
|
+
};
|
|
522
|
+
AuthorizationPendingException = class AuthorizationPendingException extends SSOOIDCServiceException {
|
|
523
|
+
name = "AuthorizationPendingException";
|
|
524
|
+
$fault = "client";
|
|
525
|
+
error;
|
|
526
|
+
error_description;
|
|
527
|
+
constructor(opts) {
|
|
528
|
+
super({
|
|
529
|
+
name: "AuthorizationPendingException",
|
|
530
|
+
$fault: "client",
|
|
531
|
+
...opts
|
|
532
|
+
});
|
|
533
|
+
Object.setPrototypeOf(this, AuthorizationPendingException.prototype);
|
|
534
|
+
this.error = opts.error;
|
|
535
|
+
this.error_description = opts.error_description;
|
|
536
|
+
}
|
|
537
|
+
};
|
|
538
|
+
ExpiredTokenException = class ExpiredTokenException extends SSOOIDCServiceException {
|
|
539
|
+
name = "ExpiredTokenException";
|
|
540
|
+
$fault = "client";
|
|
541
|
+
error;
|
|
542
|
+
error_description;
|
|
543
|
+
constructor(opts) {
|
|
544
|
+
super({
|
|
545
|
+
name: "ExpiredTokenException",
|
|
546
|
+
$fault: "client",
|
|
547
|
+
...opts
|
|
548
|
+
});
|
|
549
|
+
Object.setPrototypeOf(this, ExpiredTokenException.prototype);
|
|
550
|
+
this.error = opts.error;
|
|
551
|
+
this.error_description = opts.error_description;
|
|
552
|
+
}
|
|
553
|
+
};
|
|
554
|
+
InternalServerException = class InternalServerException extends SSOOIDCServiceException {
|
|
555
|
+
name = "InternalServerException";
|
|
556
|
+
$fault = "server";
|
|
557
|
+
error;
|
|
558
|
+
error_description;
|
|
559
|
+
constructor(opts) {
|
|
560
|
+
super({
|
|
561
|
+
name: "InternalServerException",
|
|
562
|
+
$fault: "server",
|
|
563
|
+
...opts
|
|
564
|
+
});
|
|
565
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
566
|
+
this.error = opts.error;
|
|
567
|
+
this.error_description = opts.error_description;
|
|
568
|
+
}
|
|
569
|
+
};
|
|
570
|
+
InvalidClientException = class InvalidClientException extends SSOOIDCServiceException {
|
|
571
|
+
name = "InvalidClientException";
|
|
572
|
+
$fault = "client";
|
|
573
|
+
error;
|
|
574
|
+
error_description;
|
|
575
|
+
constructor(opts) {
|
|
576
|
+
super({
|
|
577
|
+
name: "InvalidClientException",
|
|
578
|
+
$fault: "client",
|
|
579
|
+
...opts
|
|
580
|
+
});
|
|
581
|
+
Object.setPrototypeOf(this, InvalidClientException.prototype);
|
|
582
|
+
this.error = opts.error;
|
|
583
|
+
this.error_description = opts.error_description;
|
|
584
|
+
}
|
|
585
|
+
};
|
|
586
|
+
InvalidGrantException = class InvalidGrantException extends SSOOIDCServiceException {
|
|
587
|
+
name = "InvalidGrantException";
|
|
588
|
+
$fault = "client";
|
|
589
|
+
error;
|
|
590
|
+
error_description;
|
|
591
|
+
constructor(opts) {
|
|
592
|
+
super({
|
|
593
|
+
name: "InvalidGrantException",
|
|
594
|
+
$fault: "client",
|
|
595
|
+
...opts
|
|
596
|
+
});
|
|
597
|
+
Object.setPrototypeOf(this, InvalidGrantException.prototype);
|
|
598
|
+
this.error = opts.error;
|
|
599
|
+
this.error_description = opts.error_description;
|
|
600
|
+
}
|
|
601
|
+
};
|
|
602
|
+
InvalidRequestException = class InvalidRequestException extends SSOOIDCServiceException {
|
|
603
|
+
name = "InvalidRequestException";
|
|
604
|
+
$fault = "client";
|
|
605
|
+
error;
|
|
606
|
+
reason;
|
|
607
|
+
error_description;
|
|
608
|
+
constructor(opts) {
|
|
609
|
+
super({
|
|
610
|
+
name: "InvalidRequestException",
|
|
611
|
+
$fault: "client",
|
|
612
|
+
...opts
|
|
613
|
+
});
|
|
614
|
+
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
615
|
+
this.error = opts.error;
|
|
616
|
+
this.reason = opts.reason;
|
|
617
|
+
this.error_description = opts.error_description;
|
|
618
|
+
}
|
|
619
|
+
};
|
|
620
|
+
InvalidScopeException = class InvalidScopeException extends SSOOIDCServiceException {
|
|
621
|
+
name = "InvalidScopeException";
|
|
622
|
+
$fault = "client";
|
|
623
|
+
error;
|
|
624
|
+
error_description;
|
|
625
|
+
constructor(opts) {
|
|
626
|
+
super({
|
|
627
|
+
name: "InvalidScopeException",
|
|
628
|
+
$fault: "client",
|
|
629
|
+
...opts
|
|
630
|
+
});
|
|
631
|
+
Object.setPrototypeOf(this, InvalidScopeException.prototype);
|
|
632
|
+
this.error = opts.error;
|
|
633
|
+
this.error_description = opts.error_description;
|
|
634
|
+
}
|
|
635
|
+
};
|
|
636
|
+
SlowDownException = class SlowDownException extends SSOOIDCServiceException {
|
|
637
|
+
name = "SlowDownException";
|
|
638
|
+
$fault = "client";
|
|
639
|
+
error;
|
|
640
|
+
error_description;
|
|
641
|
+
constructor(opts) {
|
|
642
|
+
super({
|
|
643
|
+
name: "SlowDownException",
|
|
644
|
+
$fault: "client",
|
|
645
|
+
...opts
|
|
646
|
+
});
|
|
647
|
+
Object.setPrototypeOf(this, SlowDownException.prototype);
|
|
648
|
+
this.error = opts.error;
|
|
649
|
+
this.error_description = opts.error_description;
|
|
650
|
+
}
|
|
651
|
+
};
|
|
652
|
+
UnauthorizedClientException = class UnauthorizedClientException extends SSOOIDCServiceException {
|
|
653
|
+
name = "UnauthorizedClientException";
|
|
654
|
+
$fault = "client";
|
|
655
|
+
error;
|
|
656
|
+
error_description;
|
|
657
|
+
constructor(opts) {
|
|
658
|
+
super({
|
|
659
|
+
name: "UnauthorizedClientException",
|
|
660
|
+
$fault: "client",
|
|
661
|
+
...opts
|
|
662
|
+
});
|
|
663
|
+
Object.setPrototypeOf(this, UnauthorizedClientException.prototype);
|
|
664
|
+
this.error = opts.error;
|
|
665
|
+
this.error_description = opts.error_description;
|
|
666
|
+
}
|
|
667
|
+
};
|
|
668
|
+
UnsupportedGrantTypeException = class UnsupportedGrantTypeException extends SSOOIDCServiceException {
|
|
669
|
+
name = "UnsupportedGrantTypeException";
|
|
670
|
+
$fault = "client";
|
|
671
|
+
error;
|
|
672
|
+
error_description;
|
|
673
|
+
constructor(opts) {
|
|
674
|
+
super({
|
|
675
|
+
name: "UnsupportedGrantTypeException",
|
|
676
|
+
$fault: "client",
|
|
677
|
+
...opts
|
|
678
|
+
});
|
|
679
|
+
Object.setPrototypeOf(this, UnsupportedGrantTypeException.prototype);
|
|
680
|
+
this.error = opts.error;
|
|
681
|
+
this.error_description = opts.error_description;
|
|
682
|
+
}
|
|
683
|
+
};
|
|
684
|
+
}) });
|
|
685
|
+
|
|
686
|
+
//#endregion
|
|
687
|
+
//#region node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/index.js
|
|
688
|
+
var init_models = __esm({ "node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/index.js": (() => {
|
|
689
|
+
init_models_0();
|
|
690
|
+
}) });
|
|
691
|
+
|
|
692
|
+
//#endregion
|
|
693
|
+
//#region node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js
|
|
694
|
+
var _ADE, _APE, _AT, _CS, _CT, _CTR, _CTRr, _CV, _ETE, _ICE, _IGE, _IRE, _ISE, _ISEn, _IT, _RT, _SDE, _UCE, _UGTE, _aT, _c, _cI, _cS, _cV, _co, _dC, _e, _eI, _ed, _gT, _h, _hE, _iT, _r, _rT, _rU, _s, _se, _sm, _tT, n0, AccessToken, ClientSecret, CodeVerifier, IdToken, RefreshToken, AccessDeniedException$1, AuthorizationPendingException$1, CreateTokenRequest, CreateTokenResponse, ExpiredTokenException$1, InternalServerException$1, InvalidClientException$1, InvalidGrantException$1, InvalidRequestException$1, InvalidScopeException$1, SlowDownException$1, UnauthorizedClientException$1, UnsupportedGrantTypeException$1, SSOOIDCServiceException$1, CreateToken;
|
|
695
|
+
var init_schemas_0 = __esm({ "node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js": (() => {
|
|
696
|
+
init_schema();
|
|
697
|
+
init_models();
|
|
698
|
+
init_SSOOIDCServiceException();
|
|
699
|
+
_ADE = "AccessDeniedException";
|
|
700
|
+
_APE = "AuthorizationPendingException";
|
|
701
|
+
_AT = "AccessToken";
|
|
702
|
+
_CS = "ClientSecret";
|
|
703
|
+
_CT = "CreateToken";
|
|
704
|
+
_CTR = "CreateTokenRequest";
|
|
705
|
+
_CTRr = "CreateTokenResponse";
|
|
706
|
+
_CV = "CodeVerifier";
|
|
707
|
+
_ETE = "ExpiredTokenException";
|
|
708
|
+
_ICE = "InvalidClientException";
|
|
709
|
+
_IGE = "InvalidGrantException";
|
|
710
|
+
_IRE = "InvalidRequestException";
|
|
711
|
+
_ISE = "InternalServerException";
|
|
712
|
+
_ISEn = "InvalidScopeException";
|
|
713
|
+
_IT = "IdToken";
|
|
714
|
+
_RT = "RefreshToken";
|
|
715
|
+
_SDE = "SlowDownException";
|
|
716
|
+
_UCE = "UnauthorizedClientException";
|
|
717
|
+
_UGTE = "UnsupportedGrantTypeException";
|
|
718
|
+
_aT = "accessToken";
|
|
719
|
+
_c = "client";
|
|
720
|
+
_cI = "clientId";
|
|
721
|
+
_cS = "clientSecret";
|
|
722
|
+
_cV = "codeVerifier";
|
|
723
|
+
_co = "code";
|
|
724
|
+
_dC = "deviceCode";
|
|
725
|
+
_e = "error";
|
|
726
|
+
_eI = "expiresIn";
|
|
727
|
+
_ed = "error_description";
|
|
728
|
+
_gT = "grantType";
|
|
729
|
+
_h = "http";
|
|
730
|
+
_hE = "httpError";
|
|
731
|
+
_iT = "idToken";
|
|
732
|
+
_r = "reason";
|
|
733
|
+
_rT = "refreshToken";
|
|
734
|
+
_rU = "redirectUri";
|
|
735
|
+
_s = "scope";
|
|
736
|
+
_se = "server";
|
|
737
|
+
_sm = "smithy.ts.sdk.synthetic.com.amazonaws.ssooidc";
|
|
738
|
+
_tT = "tokenType";
|
|
739
|
+
n0 = "com.amazonaws.ssooidc";
|
|
740
|
+
AccessToken = [
|
|
741
|
+
0,
|
|
742
|
+
n0,
|
|
743
|
+
_AT,
|
|
744
|
+
8,
|
|
745
|
+
0
|
|
746
|
+
];
|
|
747
|
+
ClientSecret = [
|
|
748
|
+
0,
|
|
749
|
+
n0,
|
|
750
|
+
_CS,
|
|
751
|
+
8,
|
|
752
|
+
0
|
|
753
|
+
];
|
|
754
|
+
CodeVerifier = [
|
|
755
|
+
0,
|
|
756
|
+
n0,
|
|
757
|
+
_CV,
|
|
758
|
+
8,
|
|
759
|
+
0
|
|
760
|
+
];
|
|
761
|
+
IdToken = [
|
|
762
|
+
0,
|
|
763
|
+
n0,
|
|
764
|
+
_IT,
|
|
765
|
+
8,
|
|
766
|
+
0
|
|
767
|
+
];
|
|
768
|
+
RefreshToken = [
|
|
769
|
+
0,
|
|
770
|
+
n0,
|
|
771
|
+
_RT,
|
|
772
|
+
8,
|
|
773
|
+
0
|
|
774
|
+
];
|
|
775
|
+
AccessDeniedException$1 = [
|
|
776
|
+
-3,
|
|
777
|
+
n0,
|
|
778
|
+
_ADE,
|
|
779
|
+
{
|
|
780
|
+
[_e]: _c,
|
|
781
|
+
[_hE]: 400
|
|
782
|
+
},
|
|
783
|
+
[
|
|
784
|
+
_e,
|
|
785
|
+
_r,
|
|
786
|
+
_ed
|
|
787
|
+
],
|
|
788
|
+
[
|
|
789
|
+
0,
|
|
790
|
+
0,
|
|
791
|
+
0
|
|
792
|
+
]
|
|
793
|
+
];
|
|
794
|
+
TypeRegistry.for(n0).registerError(AccessDeniedException$1, AccessDeniedException);
|
|
795
|
+
AuthorizationPendingException$1 = [
|
|
796
|
+
-3,
|
|
797
|
+
n0,
|
|
798
|
+
_APE,
|
|
799
|
+
{
|
|
800
|
+
[_e]: _c,
|
|
801
|
+
[_hE]: 400
|
|
802
|
+
},
|
|
803
|
+
[_e, _ed],
|
|
804
|
+
[0, 0]
|
|
805
|
+
];
|
|
806
|
+
TypeRegistry.for(n0).registerError(AuthorizationPendingException$1, AuthorizationPendingException);
|
|
807
|
+
CreateTokenRequest = [
|
|
808
|
+
3,
|
|
809
|
+
n0,
|
|
810
|
+
_CTR,
|
|
811
|
+
0,
|
|
812
|
+
[
|
|
813
|
+
_cI,
|
|
814
|
+
_cS,
|
|
815
|
+
_gT,
|
|
816
|
+
_dC,
|
|
817
|
+
_co,
|
|
818
|
+
_rT,
|
|
819
|
+
_s,
|
|
820
|
+
_rU,
|
|
821
|
+
_cV
|
|
822
|
+
],
|
|
823
|
+
[
|
|
824
|
+
0,
|
|
825
|
+
[() => ClientSecret, 0],
|
|
826
|
+
0,
|
|
827
|
+
0,
|
|
828
|
+
0,
|
|
829
|
+
[() => RefreshToken, 0],
|
|
830
|
+
64,
|
|
831
|
+
0,
|
|
832
|
+
[() => CodeVerifier, 0]
|
|
833
|
+
]
|
|
834
|
+
];
|
|
835
|
+
CreateTokenResponse = [
|
|
836
|
+
3,
|
|
837
|
+
n0,
|
|
838
|
+
_CTRr,
|
|
839
|
+
0,
|
|
840
|
+
[
|
|
841
|
+
_aT,
|
|
842
|
+
_tT,
|
|
843
|
+
_eI,
|
|
844
|
+
_rT,
|
|
845
|
+
_iT
|
|
846
|
+
],
|
|
847
|
+
[
|
|
848
|
+
[() => AccessToken, 0],
|
|
849
|
+
0,
|
|
850
|
+
1,
|
|
851
|
+
[() => RefreshToken, 0],
|
|
852
|
+
[() => IdToken, 0]
|
|
853
|
+
]
|
|
854
|
+
];
|
|
855
|
+
ExpiredTokenException$1 = [
|
|
856
|
+
-3,
|
|
857
|
+
n0,
|
|
858
|
+
_ETE,
|
|
859
|
+
{
|
|
860
|
+
[_e]: _c,
|
|
861
|
+
[_hE]: 400
|
|
862
|
+
},
|
|
863
|
+
[_e, _ed],
|
|
864
|
+
[0, 0]
|
|
865
|
+
];
|
|
866
|
+
TypeRegistry.for(n0).registerError(ExpiredTokenException$1, ExpiredTokenException);
|
|
867
|
+
InternalServerException$1 = [
|
|
868
|
+
-3,
|
|
869
|
+
n0,
|
|
870
|
+
_ISE,
|
|
871
|
+
{
|
|
872
|
+
[_e]: _se,
|
|
873
|
+
[_hE]: 500
|
|
874
|
+
},
|
|
875
|
+
[_e, _ed],
|
|
876
|
+
[0, 0]
|
|
877
|
+
];
|
|
878
|
+
TypeRegistry.for(n0).registerError(InternalServerException$1, InternalServerException);
|
|
879
|
+
InvalidClientException$1 = [
|
|
880
|
+
-3,
|
|
881
|
+
n0,
|
|
882
|
+
_ICE,
|
|
883
|
+
{
|
|
884
|
+
[_e]: _c,
|
|
885
|
+
[_hE]: 401
|
|
886
|
+
},
|
|
887
|
+
[_e, _ed],
|
|
888
|
+
[0, 0]
|
|
889
|
+
];
|
|
890
|
+
TypeRegistry.for(n0).registerError(InvalidClientException$1, InvalidClientException);
|
|
891
|
+
InvalidGrantException$1 = [
|
|
892
|
+
-3,
|
|
893
|
+
n0,
|
|
894
|
+
_IGE,
|
|
895
|
+
{
|
|
896
|
+
[_e]: _c,
|
|
897
|
+
[_hE]: 400
|
|
898
|
+
},
|
|
899
|
+
[_e, _ed],
|
|
900
|
+
[0, 0]
|
|
901
|
+
];
|
|
902
|
+
TypeRegistry.for(n0).registerError(InvalidGrantException$1, InvalidGrantException);
|
|
903
|
+
InvalidRequestException$1 = [
|
|
904
|
+
-3,
|
|
905
|
+
n0,
|
|
906
|
+
_IRE,
|
|
907
|
+
{
|
|
908
|
+
[_e]: _c,
|
|
909
|
+
[_hE]: 400
|
|
910
|
+
},
|
|
911
|
+
[
|
|
912
|
+
_e,
|
|
913
|
+
_r,
|
|
914
|
+
_ed
|
|
915
|
+
],
|
|
916
|
+
[
|
|
917
|
+
0,
|
|
918
|
+
0,
|
|
919
|
+
0
|
|
920
|
+
]
|
|
921
|
+
];
|
|
922
|
+
TypeRegistry.for(n0).registerError(InvalidRequestException$1, InvalidRequestException);
|
|
923
|
+
InvalidScopeException$1 = [
|
|
924
|
+
-3,
|
|
925
|
+
n0,
|
|
926
|
+
_ISEn,
|
|
927
|
+
{
|
|
928
|
+
[_e]: _c,
|
|
929
|
+
[_hE]: 400
|
|
930
|
+
},
|
|
931
|
+
[_e, _ed],
|
|
932
|
+
[0, 0]
|
|
933
|
+
];
|
|
934
|
+
TypeRegistry.for(n0).registerError(InvalidScopeException$1, InvalidScopeException);
|
|
935
|
+
SlowDownException$1 = [
|
|
936
|
+
-3,
|
|
937
|
+
n0,
|
|
938
|
+
_SDE,
|
|
939
|
+
{
|
|
940
|
+
[_e]: _c,
|
|
941
|
+
[_hE]: 400
|
|
942
|
+
},
|
|
943
|
+
[_e, _ed],
|
|
944
|
+
[0, 0]
|
|
945
|
+
];
|
|
946
|
+
TypeRegistry.for(n0).registerError(SlowDownException$1, SlowDownException);
|
|
947
|
+
UnauthorizedClientException$1 = [
|
|
948
|
+
-3,
|
|
949
|
+
n0,
|
|
950
|
+
_UCE,
|
|
951
|
+
{
|
|
952
|
+
[_e]: _c,
|
|
953
|
+
[_hE]: 400
|
|
954
|
+
},
|
|
955
|
+
[_e, _ed],
|
|
956
|
+
[0, 0]
|
|
957
|
+
];
|
|
958
|
+
TypeRegistry.for(n0).registerError(UnauthorizedClientException$1, UnauthorizedClientException);
|
|
959
|
+
UnsupportedGrantTypeException$1 = [
|
|
960
|
+
-3,
|
|
961
|
+
n0,
|
|
962
|
+
_UGTE,
|
|
963
|
+
{
|
|
964
|
+
[_e]: _c,
|
|
965
|
+
[_hE]: 400
|
|
966
|
+
},
|
|
967
|
+
[_e, _ed],
|
|
968
|
+
[0, 0]
|
|
969
|
+
];
|
|
970
|
+
TypeRegistry.for(n0).registerError(UnsupportedGrantTypeException$1, UnsupportedGrantTypeException);
|
|
971
|
+
SSOOIDCServiceException$1 = [
|
|
972
|
+
-3,
|
|
973
|
+
_sm,
|
|
974
|
+
"SSOOIDCServiceException",
|
|
975
|
+
0,
|
|
976
|
+
[],
|
|
977
|
+
[]
|
|
978
|
+
];
|
|
979
|
+
TypeRegistry.for(_sm).registerError(SSOOIDCServiceException$1, SSOOIDCServiceException);
|
|
980
|
+
CreateToken = [
|
|
981
|
+
9,
|
|
982
|
+
n0,
|
|
983
|
+
_CT,
|
|
984
|
+
{ [_h]: [
|
|
985
|
+
"POST",
|
|
986
|
+
"/token",
|
|
987
|
+
200
|
|
988
|
+
] },
|
|
989
|
+
() => CreateTokenRequest,
|
|
990
|
+
() => CreateTokenResponse
|
|
991
|
+
];
|
|
992
|
+
}) });
|
|
993
|
+
|
|
994
|
+
//#endregion
|
|
995
|
+
//#region node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js
|
|
996
|
+
var import_dist_cjs$1, import_dist_cjs$2, CreateTokenCommand;
|
|
997
|
+
var init_CreateTokenCommand = __esm({ "node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js": (() => {
|
|
998
|
+
import_dist_cjs$1 = require_dist_cjs$22();
|
|
999
|
+
import_dist_cjs$2 = require_dist_cjs$1();
|
|
1000
|
+
init_EndpointParameters();
|
|
1001
|
+
init_schemas_0();
|
|
1002
|
+
CreateTokenCommand = class extends import_dist_cjs$2.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o$1) {
|
|
1003
|
+
return [(0, import_dist_cjs$1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
1004
|
+
}).s("AWSSSOOIDCService", "CreateToken", {}).n("SSOOIDCClient", "CreateTokenCommand").sc(CreateToken).build() {};
|
|
1005
|
+
}) });
|
|
1006
|
+
|
|
1007
|
+
//#endregion
|
|
1008
|
+
//#region node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDC.js
|
|
1009
|
+
var import_dist_cjs, commands, SSOOIDC;
|
|
1010
|
+
var init_SSOOIDC = __esm({ "node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDC.js": (() => {
|
|
1011
|
+
import_dist_cjs = require_dist_cjs$1();
|
|
1012
|
+
init_CreateTokenCommand();
|
|
1013
|
+
init_SSOOIDCClient();
|
|
1014
|
+
commands = { CreateTokenCommand };
|
|
1015
|
+
SSOOIDC = class extends SSOOIDCClient {};
|
|
1016
|
+
(0, import_dist_cjs.createAggregatedClient)(commands, SSOOIDC);
|
|
1017
|
+
}) });
|
|
1018
|
+
|
|
1019
|
+
//#endregion
|
|
1020
|
+
//#region node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/index.js
|
|
1021
|
+
var init_commands = __esm({ "node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/index.js": (() => {
|
|
1022
|
+
init_CreateTokenCommand();
|
|
1023
|
+
}) });
|
|
1024
|
+
|
|
1025
|
+
//#endregion
|
|
1026
|
+
//#region node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/index.js
|
|
1027
|
+
var init_sso_oidc = __esm({ "node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/index.js": (() => {
|
|
1028
|
+
init_SSOOIDCClient();
|
|
1029
|
+
init_SSOOIDC();
|
|
1030
|
+
init_commands();
|
|
1031
|
+
init_models();
|
|
1032
|
+
}) });
|
|
1033
|
+
|
|
1034
|
+
//#endregion
|
|
1035
|
+
init_sso_oidc();
|
|
1036
|
+
export { CreateTokenCommand, SSOOIDCClient };
|