@alicloud/mse20190531 6.20.1 → 6.21.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.
Files changed (73) hide show
  1. package/dist/client.d.ts +60 -0
  2. package/dist/client.js +277 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DeleteBlackWhiteListRequest.d.ts +33 -0
  5. package/dist/models/DeleteBlackWhiteListRequest.js +64 -0
  6. package/dist/models/DeleteBlackWhiteListRequest.js.map +1 -0
  7. package/dist/models/DeleteBlackWhiteListResponse.d.ts +19 -0
  8. package/dist/models/DeleteBlackWhiteListResponse.js +69 -0
  9. package/dist/models/DeleteBlackWhiteListResponse.js.map +1 -0
  10. package/dist/models/DeleteBlackWhiteListResponseBody.d.ts +109 -0
  11. package/dist/models/DeleteBlackWhiteListResponseBody.js +110 -0
  12. package/dist/models/DeleteBlackWhiteListResponseBody.js.map +1 -0
  13. package/dist/models/DeleteGatewayAuthRequest.d.ts +28 -0
  14. package/dist/models/DeleteGatewayAuthRequest.js +62 -0
  15. package/dist/models/DeleteGatewayAuthRequest.js.map +1 -0
  16. package/dist/models/DeleteGatewayAuthResponse.d.ts +19 -0
  17. package/dist/models/DeleteGatewayAuthResponse.js +69 -0
  18. package/dist/models/DeleteGatewayAuthResponse.js.map +1 -0
  19. package/dist/models/DeleteGatewayAuthResponseBody.d.ts +161 -0
  20. package/dist/models/DeleteGatewayAuthResponseBody.js +133 -0
  21. package/dist/models/DeleteGatewayAuthResponseBody.js.map +1 -0
  22. package/dist/models/ListGatewayAuthRequest.d.ts +76 -0
  23. package/dist/models/ListGatewayAuthRequest.js +98 -0
  24. package/dist/models/ListGatewayAuthRequest.js.map +1 -0
  25. package/dist/models/ListGatewayAuthResponse.d.ts +19 -0
  26. package/dist/models/ListGatewayAuthResponse.js +69 -0
  27. package/dist/models/ListGatewayAuthResponse.js.map +1 -0
  28. package/dist/models/ListGatewayAuthResponseBody.d.ts +281 -0
  29. package/dist/models/ListGatewayAuthResponseBody.js +240 -0
  30. package/dist/models/ListGatewayAuthResponseBody.js.map +1 -0
  31. package/dist/models/ListGatewayAuthShrinkRequest.d.ts +39 -0
  32. package/dist/models/ListGatewayAuthShrinkRequest.js +68 -0
  33. package/dist/models/ListGatewayAuthShrinkRequest.js.map +1 -0
  34. package/dist/models/ListNacosConfigsResponseBody.d.ts +2 -0
  35. package/dist/models/ListNacosConfigsResponseBody.js +4 -0
  36. package/dist/models/ListNacosConfigsResponseBody.js.map +1 -1
  37. package/dist/models/QueryConfigResponseBody.d.ts +19 -0
  38. package/dist/models/QueryConfigResponseBody.js +37 -1
  39. package/dist/models/QueryConfigResponseBody.js.map +1 -1
  40. package/dist/models/UpdateGatewayAuthRequest.d.ts +237 -0
  41. package/dist/models/UpdateGatewayAuthRequest.js +216 -0
  42. package/dist/models/UpdateGatewayAuthRequest.js.map +1 -0
  43. package/dist/models/UpdateGatewayAuthResponse.d.ts +19 -0
  44. package/dist/models/UpdateGatewayAuthResponse.js +69 -0
  45. package/dist/models/UpdateGatewayAuthResponse.js.map +1 -0
  46. package/dist/models/UpdateGatewayAuthResponseBody.d.ts +43 -0
  47. package/dist/models/UpdateGatewayAuthResponseBody.js +68 -0
  48. package/dist/models/UpdateGatewayAuthResponseBody.js.map +1 -0
  49. package/dist/models/UpdateGatewayAuthShrinkRequest.d.ts +122 -0
  50. package/dist/models/UpdateGatewayAuthShrinkRequest.js +106 -0
  51. package/dist/models/UpdateGatewayAuthShrinkRequest.js.map +1 -0
  52. package/dist/models/model.d.ts +25 -0
  53. package/dist/models/model.js +77 -27
  54. package/dist/models/model.js.map +1 -1
  55. package/package.json +1 -1
  56. package/src/client.ts +328 -0
  57. package/src/models/DeleteBlackWhiteListRequest.ts +52 -0
  58. package/src/models/DeleteBlackWhiteListResponse.ts +40 -0
  59. package/src/models/DeleteBlackWhiteListResponseBody.ts +165 -0
  60. package/src/models/DeleteGatewayAuthRequest.ts +45 -0
  61. package/src/models/DeleteGatewayAuthResponse.ts +40 -0
  62. package/src/models/DeleteGatewayAuthResponseBody.ts +240 -0
  63. package/src/models/ListGatewayAuthRequest.ts +120 -0
  64. package/src/models/ListGatewayAuthResponse.ts +40 -0
  65. package/src/models/ListGatewayAuthResponseBody.ts +440 -0
  66. package/src/models/ListGatewayAuthShrinkRequest.ts +62 -0
  67. package/src/models/ListNacosConfigsResponseBody.ts +6 -0
  68. package/src/models/QueryConfigResponseBody.ts +44 -0
  69. package/src/models/UpdateGatewayAuthRequest.ts +381 -0
  70. package/src/models/UpdateGatewayAuthResponse.ts +40 -0
  71. package/src/models/UpdateGatewayAuthResponseBody.ts +66 -0
  72. package/src/models/UpdateGatewayAuthShrinkRequest.ts +183 -0
  73. package/src/models/model.ts +25 -0
@@ -0,0 +1,381 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class UpdateGatewayAuthRequestAuthResourceListAuthResourceHeaderList extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * x-req
9
+ */
10
+ headerKey?: string;
11
+ /**
12
+ * @example
13
+ * EQUAL
14
+ */
15
+ headerMethod?: string;
16
+ /**
17
+ * @example
18
+ * 123
19
+ */
20
+ headerValue?: string;
21
+ static names(): { [key: string]: string } {
22
+ return {
23
+ headerKey: 'HeaderKey',
24
+ headerMethod: 'HeaderMethod',
25
+ headerValue: 'HeaderValue',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ headerKey: 'string',
32
+ headerMethod: 'string',
33
+ headerValue: 'string',
34
+ };
35
+ }
36
+
37
+ validate() {
38
+ super.validate();
39
+ }
40
+
41
+ constructor(map?: { [key: string]: any }) {
42
+ super(map);
43
+ }
44
+ }
45
+
46
+ export class UpdateGatewayAuthRequestAuthResourceList extends $dara.Model {
47
+ authResourceHeaderList?: UpdateGatewayAuthRequestAuthResourceListAuthResourceHeaderList[];
48
+ /**
49
+ * @example
50
+ * 1765
51
+ */
52
+ domainId?: number;
53
+ /**
54
+ * @example
55
+ * 1
56
+ */
57
+ id?: number;
58
+ ignoreCase?: boolean;
59
+ /**
60
+ * @example
61
+ * EQUAL
62
+ */
63
+ matchType?: string;
64
+ /**
65
+ * @example
66
+ * /test
67
+ */
68
+ path?: string;
69
+ static names(): { [key: string]: string } {
70
+ return {
71
+ authResourceHeaderList: 'AuthResourceHeaderList',
72
+ domainId: 'DomainId',
73
+ id: 'Id',
74
+ ignoreCase: 'IgnoreCase',
75
+ matchType: 'MatchType',
76
+ path: 'Path',
77
+ };
78
+ }
79
+
80
+ static types(): { [key: string]: any } {
81
+ return {
82
+ authResourceHeaderList: { 'type': 'array', 'itemType': UpdateGatewayAuthRequestAuthResourceListAuthResourceHeaderList },
83
+ domainId: 'number',
84
+ id: 'number',
85
+ ignoreCase: 'boolean',
86
+ matchType: 'string',
87
+ path: 'string',
88
+ };
89
+ }
90
+
91
+ validate() {
92
+ if(Array.isArray(this.authResourceHeaderList)) {
93
+ $dara.Model.validateArray(this.authResourceHeaderList);
94
+ }
95
+ super.validate();
96
+ }
97
+
98
+ constructor(map?: { [key: string]: any }) {
99
+ super(map);
100
+ }
101
+ }
102
+
103
+ export class UpdateGatewayAuthRequestExternalAuthZJSON extends $dara.Model {
104
+ allowRequestHeaders?: string[];
105
+ allowUpstreamHeaders?: string[];
106
+ /**
107
+ * @example
108
+ * 4000000
109
+ */
110
+ bodyMaxBytes?: number;
111
+ /**
112
+ * @example
113
+ * true
114
+ */
115
+ isRestrict?: boolean;
116
+ /**
117
+ * @example
118
+ * /auth
119
+ */
120
+ prefixPath?: string;
121
+ /**
122
+ * @example
123
+ * 37396
124
+ */
125
+ serviceId?: number;
126
+ /**
127
+ * @example
128
+ * 10
129
+ */
130
+ timeout?: number;
131
+ /**
132
+ * @example
133
+ * Authorization
134
+ */
135
+ tokenKey?: string;
136
+ /**
137
+ * @example
138
+ * true
139
+ */
140
+ withRematchRoute?: boolean;
141
+ /**
142
+ * @example
143
+ * true
144
+ */
145
+ withRequestBody?: boolean;
146
+ static names(): { [key: string]: string } {
147
+ return {
148
+ allowRequestHeaders: 'AllowRequestHeaders',
149
+ allowUpstreamHeaders: 'AllowUpstreamHeaders',
150
+ bodyMaxBytes: 'BodyMaxBytes',
151
+ isRestrict: 'IsRestrict',
152
+ prefixPath: 'PrefixPath',
153
+ serviceId: 'ServiceId',
154
+ timeout: 'Timeout',
155
+ tokenKey: 'TokenKey',
156
+ withRematchRoute: 'WithRematchRoute',
157
+ withRequestBody: 'WithRequestBody',
158
+ };
159
+ }
160
+
161
+ static types(): { [key: string]: any } {
162
+ return {
163
+ allowRequestHeaders: { 'type': 'array', 'itemType': 'string' },
164
+ allowUpstreamHeaders: { 'type': 'array', 'itemType': 'string' },
165
+ bodyMaxBytes: 'number',
166
+ isRestrict: 'boolean',
167
+ prefixPath: 'string',
168
+ serviceId: 'number',
169
+ timeout: 'number',
170
+ tokenKey: 'string',
171
+ withRematchRoute: 'boolean',
172
+ withRequestBody: 'boolean',
173
+ };
174
+ }
175
+
176
+ validate() {
177
+ if(Array.isArray(this.allowRequestHeaders)) {
178
+ $dara.Model.validateArray(this.allowRequestHeaders);
179
+ }
180
+ if(Array.isArray(this.allowUpstreamHeaders)) {
181
+ $dara.Model.validateArray(this.allowUpstreamHeaders);
182
+ }
183
+ super.validate();
184
+ }
185
+
186
+ constructor(map?: { [key: string]: any }) {
187
+ super(map);
188
+ }
189
+ }
190
+
191
+ export class UpdateGatewayAuthRequest extends $dara.Model {
192
+ /**
193
+ * @example
194
+ * zh
195
+ */
196
+ acceptLanguage?: string;
197
+ /**
198
+ * @example
199
+ * \\"\\"
200
+ */
201
+ authResourceConfig?: string;
202
+ authResourceList?: UpdateGatewayAuthRequestAuthResourceList[];
203
+ /**
204
+ * @example
205
+ * 1
206
+ */
207
+ authResourceMode?: number;
208
+ /**
209
+ * @example
210
+ * app_mnvxaavggw7hcdcnr6usi6***
211
+ */
212
+ clientId?: string;
213
+ /**
214
+ * @example
215
+ * CS6EYfx3k9yTRR9EtQ2MXWP97P6UAUwFg4teoWJ19Z****
216
+ */
217
+ clientSecret?: string;
218
+ /**
219
+ * @example
220
+ * test.com
221
+ */
222
+ cookieDomain?: string;
223
+ deleteResourceIdList?: number[];
224
+ externalAuthZJSON?: UpdateGatewayAuthRequestExternalAuthZJSON;
225
+ /**
226
+ * @example
227
+ * gw-9cdcf8e4f58144059e73ff4c5ef9****
228
+ */
229
+ gatewayUniqueId?: string;
230
+ /**
231
+ * @example
232
+ * 719
233
+ */
234
+ id?: number;
235
+ /**
236
+ * @example
237
+ * true
238
+ */
239
+ isWhite?: boolean;
240
+ /**
241
+ * @example
242
+ * test
243
+ */
244
+ issuer?: string;
245
+ /**
246
+ * @example
247
+ * {"keys":[{"e":"AQAB","kid":"DHFbpoIUqrY8t2zpA2qXfCmr5VO5ZEr4RzHU_-envvQ","kty":"RSA","n":"xAE7eB6qugXyCAG3yhh7pkDkT65pHymX-P7KfIupjf59vsdo91bSP9C8H07pSAGQO1MV_xFj9VswgsCg4R6otmg5PV2He95lZdHtOcU5DXIg_pbhLdKXbi66GlVeK6ABZOUW3WYtnNHD-91gVuoeJT_DwtGGcp4ignkgXfkiEm4sw-4sfb4qdt5oLbyVpmW6x9cfa7vs2WTfURiCrBoUqgBo_-4WTiULmmHSGZHOjzwa8WtrtOQGsAFjIbno85jp6MnGGGZPYZbDAa_b3y5u-YpW7ypZrvD8BgtKVjgtQgZhLAGezMt0ua3DRrWnKqTZ0BJ_EyxOGuHJrLsn00fnMQ"}]}
248
+ */
249
+ jwks?: string;
250
+ /**
251
+ * @example
252
+ * https://daxxxxcn.aliyunidaas.com/
253
+ */
254
+ loginUrl?: string;
255
+ /**
256
+ * @example
257
+ * test
258
+ */
259
+ name?: string;
260
+ /**
261
+ * @example
262
+ * https://test-.com/oauth2/callback
263
+ */
264
+ redirectUrl?: string;
265
+ scopesList?: string[];
266
+ /**
267
+ * @example
268
+ * true
269
+ */
270
+ status?: boolean;
271
+ /**
272
+ * @example
273
+ * example-app
274
+ */
275
+ sub?: string;
276
+ /**
277
+ * @example
278
+ * Authorization
279
+ */
280
+ tokenName?: string;
281
+ /**
282
+ * @example
283
+ * Bearer
284
+ */
285
+ tokenNamePrefix?: string;
286
+ /**
287
+ * @example
288
+ * true
289
+ */
290
+ tokenPass?: boolean;
291
+ /**
292
+ * @example
293
+ * HEADER
294
+ */
295
+ tokenPosition?: string;
296
+ /**
297
+ * @example
298
+ * ExternalAuthZ
299
+ */
300
+ type?: string;
301
+ static names(): { [key: string]: string } {
302
+ return {
303
+ acceptLanguage: 'AcceptLanguage',
304
+ authResourceConfig: 'AuthResourceConfig',
305
+ authResourceList: 'AuthResourceList',
306
+ authResourceMode: 'AuthResourceMode',
307
+ clientId: 'ClientId',
308
+ clientSecret: 'ClientSecret',
309
+ cookieDomain: 'CookieDomain',
310
+ deleteResourceIdList: 'DeleteResourceIdList',
311
+ externalAuthZJSON: 'ExternalAuthZJSON',
312
+ gatewayUniqueId: 'GatewayUniqueId',
313
+ id: 'Id',
314
+ isWhite: 'IsWhite',
315
+ issuer: 'Issuer',
316
+ jwks: 'Jwks',
317
+ loginUrl: 'LoginUrl',
318
+ name: 'Name',
319
+ redirectUrl: 'RedirectUrl',
320
+ scopesList: 'ScopesList',
321
+ status: 'Status',
322
+ sub: 'Sub',
323
+ tokenName: 'TokenName',
324
+ tokenNamePrefix: 'TokenNamePrefix',
325
+ tokenPass: 'TokenPass',
326
+ tokenPosition: 'TokenPosition',
327
+ type: 'Type',
328
+ };
329
+ }
330
+
331
+ static types(): { [key: string]: any } {
332
+ return {
333
+ acceptLanguage: 'string',
334
+ authResourceConfig: 'string',
335
+ authResourceList: { 'type': 'array', 'itemType': UpdateGatewayAuthRequestAuthResourceList },
336
+ authResourceMode: 'number',
337
+ clientId: 'string',
338
+ clientSecret: 'string',
339
+ cookieDomain: 'string',
340
+ deleteResourceIdList: { 'type': 'array', 'itemType': 'number' },
341
+ externalAuthZJSON: UpdateGatewayAuthRequestExternalAuthZJSON,
342
+ gatewayUniqueId: 'string',
343
+ id: 'number',
344
+ isWhite: 'boolean',
345
+ issuer: 'string',
346
+ jwks: 'string',
347
+ loginUrl: 'string',
348
+ name: 'string',
349
+ redirectUrl: 'string',
350
+ scopesList: { 'type': 'array', 'itemType': 'string' },
351
+ status: 'boolean',
352
+ sub: 'string',
353
+ tokenName: 'string',
354
+ tokenNamePrefix: 'string',
355
+ tokenPass: 'boolean',
356
+ tokenPosition: 'string',
357
+ type: 'string',
358
+ };
359
+ }
360
+
361
+ validate() {
362
+ if(Array.isArray(this.authResourceList)) {
363
+ $dara.Model.validateArray(this.authResourceList);
364
+ }
365
+ if(Array.isArray(this.deleteResourceIdList)) {
366
+ $dara.Model.validateArray(this.deleteResourceIdList);
367
+ }
368
+ if(this.externalAuthZJSON && typeof (this.externalAuthZJSON as any).validate === 'function') {
369
+ (this.externalAuthZJSON as any).validate();
370
+ }
371
+ if(Array.isArray(this.scopesList)) {
372
+ $dara.Model.validateArray(this.scopesList);
373
+ }
374
+ super.validate();
375
+ }
376
+
377
+ constructor(map?: { [key: string]: any }) {
378
+ super(map);
379
+ }
380
+ }
381
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { UpdateGatewayAuthResponseBody } from "./UpdateGatewayAuthResponseBody";
4
+
5
+
6
+ export class UpdateGatewayAuthResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: UpdateGatewayAuthResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: UpdateGatewayAuthResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,66 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class UpdateGatewayAuthResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 200
9
+ */
10
+ code?: number;
11
+ /**
12
+ * @example
13
+ * 719
14
+ */
15
+ data?: number;
16
+ /**
17
+ * @example
18
+ * 200
19
+ */
20
+ httpStatusCode?: number;
21
+ /**
22
+ * @example
23
+ * OK
24
+ */
25
+ message?: string;
26
+ /**
27
+ * @example
28
+ * 316F5F64-F73D-42DC-8632-01E308B6****
29
+ */
30
+ requestId?: string;
31
+ /**
32
+ * @example
33
+ * true
34
+ */
35
+ success?: boolean;
36
+ static names(): { [key: string]: string } {
37
+ return {
38
+ code: 'Code',
39
+ data: 'Data',
40
+ httpStatusCode: 'HttpStatusCode',
41
+ message: 'Message',
42
+ requestId: 'RequestId',
43
+ success: 'Success',
44
+ };
45
+ }
46
+
47
+ static types(): { [key: string]: any } {
48
+ return {
49
+ code: 'number',
50
+ data: 'number',
51
+ httpStatusCode: 'number',
52
+ message: 'string',
53
+ requestId: 'string',
54
+ success: 'boolean',
55
+ };
56
+ }
57
+
58
+ validate() {
59
+ super.validate();
60
+ }
61
+
62
+ constructor(map?: { [key: string]: any }) {
63
+ super(map);
64
+ }
65
+ }
66
+
@@ -0,0 +1,183 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class UpdateGatewayAuthShrinkRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * zh
9
+ */
10
+ acceptLanguage?: string;
11
+ /**
12
+ * @example
13
+ * \\"\\"
14
+ */
15
+ authResourceConfig?: string;
16
+ authResourceListShrink?: string;
17
+ /**
18
+ * @example
19
+ * 1
20
+ */
21
+ authResourceMode?: number;
22
+ /**
23
+ * @example
24
+ * app_mnvxaavggw7hcdcnr6usi6***
25
+ */
26
+ clientId?: string;
27
+ /**
28
+ * @example
29
+ * CS6EYfx3k9yTRR9EtQ2MXWP97P6UAUwFg4teoWJ19Z****
30
+ */
31
+ clientSecret?: string;
32
+ /**
33
+ * @example
34
+ * test.com
35
+ */
36
+ cookieDomain?: string;
37
+ deleteResourceIdListShrink?: string;
38
+ externalAuthZJSONShrink?: string;
39
+ /**
40
+ * @example
41
+ * gw-9cdcf8e4f58144059e73ff4c5ef9****
42
+ */
43
+ gatewayUniqueId?: string;
44
+ /**
45
+ * @example
46
+ * 719
47
+ */
48
+ id?: number;
49
+ /**
50
+ * @example
51
+ * true
52
+ */
53
+ isWhite?: boolean;
54
+ /**
55
+ * @example
56
+ * test
57
+ */
58
+ issuer?: string;
59
+ /**
60
+ * @example
61
+ * {"keys":[{"e":"AQAB","kid":"DHFbpoIUqrY8t2zpA2qXfCmr5VO5ZEr4RzHU_-envvQ","kty":"RSA","n":"xAE7eB6qugXyCAG3yhh7pkDkT65pHymX-P7KfIupjf59vsdo91bSP9C8H07pSAGQO1MV_xFj9VswgsCg4R6otmg5PV2He95lZdHtOcU5DXIg_pbhLdKXbi66GlVeK6ABZOUW3WYtnNHD-91gVuoeJT_DwtGGcp4ignkgXfkiEm4sw-4sfb4qdt5oLbyVpmW6x9cfa7vs2WTfURiCrBoUqgBo_-4WTiULmmHSGZHOjzwa8WtrtOQGsAFjIbno85jp6MnGGGZPYZbDAa_b3y5u-YpW7ypZrvD8BgtKVjgtQgZhLAGezMt0ua3DRrWnKqTZ0BJ_EyxOGuHJrLsn00fnMQ"}]}
62
+ */
63
+ jwks?: string;
64
+ /**
65
+ * @example
66
+ * https://daxxxxcn.aliyunidaas.com/
67
+ */
68
+ loginUrl?: string;
69
+ /**
70
+ * @example
71
+ * test
72
+ */
73
+ name?: string;
74
+ /**
75
+ * @example
76
+ * https://test-.com/oauth2/callback
77
+ */
78
+ redirectUrl?: string;
79
+ scopesListShrink?: string;
80
+ /**
81
+ * @example
82
+ * true
83
+ */
84
+ status?: boolean;
85
+ /**
86
+ * @example
87
+ * example-app
88
+ */
89
+ sub?: string;
90
+ /**
91
+ * @example
92
+ * Authorization
93
+ */
94
+ tokenName?: string;
95
+ /**
96
+ * @example
97
+ * Bearer
98
+ */
99
+ tokenNamePrefix?: string;
100
+ /**
101
+ * @example
102
+ * true
103
+ */
104
+ tokenPass?: boolean;
105
+ /**
106
+ * @example
107
+ * HEADER
108
+ */
109
+ tokenPosition?: string;
110
+ /**
111
+ * @example
112
+ * ExternalAuthZ
113
+ */
114
+ type?: string;
115
+ static names(): { [key: string]: string } {
116
+ return {
117
+ acceptLanguage: 'AcceptLanguage',
118
+ authResourceConfig: 'AuthResourceConfig',
119
+ authResourceListShrink: 'AuthResourceList',
120
+ authResourceMode: 'AuthResourceMode',
121
+ clientId: 'ClientId',
122
+ clientSecret: 'ClientSecret',
123
+ cookieDomain: 'CookieDomain',
124
+ deleteResourceIdListShrink: 'DeleteResourceIdList',
125
+ externalAuthZJSONShrink: 'ExternalAuthZJSON',
126
+ gatewayUniqueId: 'GatewayUniqueId',
127
+ id: 'Id',
128
+ isWhite: 'IsWhite',
129
+ issuer: 'Issuer',
130
+ jwks: 'Jwks',
131
+ loginUrl: 'LoginUrl',
132
+ name: 'Name',
133
+ redirectUrl: 'RedirectUrl',
134
+ scopesListShrink: 'ScopesList',
135
+ status: 'Status',
136
+ sub: 'Sub',
137
+ tokenName: 'TokenName',
138
+ tokenNamePrefix: 'TokenNamePrefix',
139
+ tokenPass: 'TokenPass',
140
+ tokenPosition: 'TokenPosition',
141
+ type: 'Type',
142
+ };
143
+ }
144
+
145
+ static types(): { [key: string]: any } {
146
+ return {
147
+ acceptLanguage: 'string',
148
+ authResourceConfig: 'string',
149
+ authResourceListShrink: 'string',
150
+ authResourceMode: 'number',
151
+ clientId: 'string',
152
+ clientSecret: 'string',
153
+ cookieDomain: 'string',
154
+ deleteResourceIdListShrink: 'string',
155
+ externalAuthZJSONShrink: 'string',
156
+ gatewayUniqueId: 'string',
157
+ id: 'number',
158
+ isWhite: 'boolean',
159
+ issuer: 'string',
160
+ jwks: 'string',
161
+ loginUrl: 'string',
162
+ name: 'string',
163
+ redirectUrl: 'string',
164
+ scopesListShrink: 'string',
165
+ status: 'boolean',
166
+ sub: 'string',
167
+ tokenName: 'string',
168
+ tokenNamePrefix: 'string',
169
+ tokenPass: 'boolean',
170
+ tokenPosition: 'string',
171
+ type: 'string',
172
+ };
173
+ }
174
+
175
+ validate() {
176
+ super.validate();
177
+ }
178
+
179
+ constructor(map?: { [key: string]: any }) {
180
+ super(map);
181
+ }
182
+ }
183
+