@superblocksteam/types 0.1896.0 → 0.1898.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/src/plugins/common/v1/auth_pb.d.ts +42 -14
- package/dist/src/plugins/common/v1/auth_pb.d.ts.map +1 -1
- package/dist/src/plugins/common/v1/auth_pb.js +145 -114
- package/dist/src/plugins/common/v1/auth_pb.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/plugins/common/v1/auth_pb.ts +305 -207
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
// @ts-nocheck
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.Auth = exports.AkeylessAuth_Email = exports.AkeylessAuth_ApiKey = exports.AkeylessAuth = exports.GcpAuth = exports.AwsAuth_AssumeRole = exports.AwsAuth_Static = exports.AwsAuth = exports.Azure_ClientCredentials = exports.Azure_Key = exports.Azure = exports.Basic = exports.OAuth_AuthorizationCodeFlow_SubjectTokenSource = exports.OAuth_AuthorizationCodeFlow = exports.OAuth_ClientCredentialsFlow = exports.OAuth_PasswordGrantFlow = exports.OAuth = exports.OAuthCommon = void 0;
|
|
7
|
+
exports.Auth_Nothing = exports.Auth = exports.AkeylessAuth_Email = exports.AkeylessAuth_ApiKey = exports.AkeylessAuth = exports.GcpAuth = exports.AwsAuth_AssumeRole = exports.AwsAuth_Static = exports.AwsAuth = exports.Azure_ClientCredentials = exports.Azure_Key = exports.Azure = exports.Basic = exports.OAuth_AuthorizationCodeFlow_SubjectTokenSource = exports.OAuth_AuthorizationCodeFlow = exports.OAuth_ClientCredentialsFlow = exports.OAuth_PasswordGrantFlow = exports.OAuth = exports.OAuthCommon = void 0;
|
|
8
8
|
const protobuf_1 = require("@bufbuild/protobuf");
|
|
9
9
|
/**
|
|
10
10
|
* @generated from message plugins.common.v1.OAuthCommon
|
|
@@ -13,35 +13,35 @@ class OAuthCommon extends protobuf_1.Message {
|
|
|
13
13
|
/**
|
|
14
14
|
* @generated from field: string client_id = 1;
|
|
15
15
|
*/
|
|
16
|
-
clientId =
|
|
16
|
+
clientId = '';
|
|
17
17
|
/**
|
|
18
18
|
* @generated from field: string client_secret = 2;
|
|
19
19
|
*/
|
|
20
|
-
clientSecret =
|
|
20
|
+
clientSecret = '';
|
|
21
21
|
/**
|
|
22
22
|
* @generated from field: string token_url = 3;
|
|
23
23
|
*/
|
|
24
|
-
tokenUrl =
|
|
24
|
+
tokenUrl = '';
|
|
25
25
|
/**
|
|
26
26
|
* @generated from field: string audience = 4;
|
|
27
27
|
*/
|
|
28
|
-
audience =
|
|
28
|
+
audience = '';
|
|
29
29
|
/**
|
|
30
30
|
* @generated from field: string scope = 5;
|
|
31
31
|
*/
|
|
32
|
-
scope =
|
|
32
|
+
scope = '';
|
|
33
33
|
constructor(data) {
|
|
34
34
|
super();
|
|
35
35
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
36
36
|
}
|
|
37
37
|
static runtime = protobuf_1.proto3;
|
|
38
|
-
static typeName =
|
|
38
|
+
static typeName = 'plugins.common.v1.OAuthCommon';
|
|
39
39
|
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
40
|
-
{ no: 1, name:
|
|
41
|
-
{ no: 2, name:
|
|
42
|
-
{ no: 3, name:
|
|
43
|
-
{ no: 4, name:
|
|
44
|
-
{ no: 5, name:
|
|
40
|
+
{ no: 1, name: 'client_id', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
41
|
+
{ no: 2, name: 'client_secret', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
42
|
+
{ no: 3, name: 'token_url', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
43
|
+
{ no: 4, name: 'audience', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
44
|
+
{ no: 5, name: 'scope', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
|
|
45
45
|
]);
|
|
46
46
|
static fromBinary(bytes, options) {
|
|
47
47
|
return new OAuthCommon().fromBinary(bytes, options);
|
|
@@ -66,7 +66,7 @@ class OAuth extends protobuf_1.Message {
|
|
|
66
66
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
67
67
|
}
|
|
68
68
|
static runtime = protobuf_1.proto3;
|
|
69
|
-
static typeName =
|
|
69
|
+
static typeName = 'plugins.common.v1.OAuth';
|
|
70
70
|
static fields = protobuf_1.proto3.util.newFieldList(() => []);
|
|
71
71
|
static fromBinary(bytes, options) {
|
|
72
72
|
return new OAuth().fromBinary(bytes, options);
|
|
@@ -89,45 +89,45 @@ class OAuth_PasswordGrantFlow extends protobuf_1.Message {
|
|
|
89
89
|
/**
|
|
90
90
|
* @generated from field: string client_id = 1;
|
|
91
91
|
*/
|
|
92
|
-
clientId =
|
|
92
|
+
clientId = '';
|
|
93
93
|
/**
|
|
94
94
|
* @generated from field: string client_secret = 2;
|
|
95
95
|
*/
|
|
96
|
-
clientSecret =
|
|
96
|
+
clientSecret = '';
|
|
97
97
|
/**
|
|
98
98
|
* @generated from field: string token_url = 3;
|
|
99
99
|
*/
|
|
100
|
-
tokenUrl =
|
|
100
|
+
tokenUrl = '';
|
|
101
101
|
/**
|
|
102
102
|
* @generated from field: string username = 4;
|
|
103
103
|
*/
|
|
104
|
-
username =
|
|
104
|
+
username = '';
|
|
105
105
|
/**
|
|
106
106
|
* @generated from field: string password = 5;
|
|
107
107
|
*/
|
|
108
|
-
password =
|
|
108
|
+
password = '';
|
|
109
109
|
/**
|
|
110
110
|
* @generated from field: string audience = 6;
|
|
111
111
|
*/
|
|
112
|
-
audience =
|
|
112
|
+
audience = '';
|
|
113
113
|
/**
|
|
114
114
|
* @generated from field: string scope = 7;
|
|
115
115
|
*/
|
|
116
|
-
scope =
|
|
116
|
+
scope = '';
|
|
117
117
|
constructor(data) {
|
|
118
118
|
super();
|
|
119
119
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
120
120
|
}
|
|
121
121
|
static runtime = protobuf_1.proto3;
|
|
122
|
-
static typeName =
|
|
122
|
+
static typeName = 'plugins.common.v1.OAuth.PasswordGrantFlow';
|
|
123
123
|
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
124
|
-
{ no: 1, name:
|
|
125
|
-
{ no: 2, name:
|
|
126
|
-
{ no: 3, name:
|
|
127
|
-
{ no: 4, name:
|
|
128
|
-
{ no: 5, name:
|
|
129
|
-
{ no: 6, name:
|
|
130
|
-
{ no: 7, name:
|
|
124
|
+
{ no: 1, name: 'client_id', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
125
|
+
{ no: 2, name: 'client_secret', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
126
|
+
{ no: 3, name: 'token_url', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
127
|
+
{ no: 4, name: 'username', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
128
|
+
{ no: 5, name: 'password', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
129
|
+
{ no: 6, name: 'audience', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
130
|
+
{ no: 7, name: 'scope', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
|
|
131
131
|
]);
|
|
132
132
|
static fromBinary(bytes, options) {
|
|
133
133
|
return new OAuth_PasswordGrantFlow().fromBinary(bytes, options);
|
|
@@ -150,35 +150,35 @@ class OAuth_ClientCredentialsFlow extends protobuf_1.Message {
|
|
|
150
150
|
/**
|
|
151
151
|
* @generated from field: string client_id = 1;
|
|
152
152
|
*/
|
|
153
|
-
clientId =
|
|
153
|
+
clientId = '';
|
|
154
154
|
/**
|
|
155
155
|
* @generated from field: string client_secret = 2;
|
|
156
156
|
*/
|
|
157
|
-
clientSecret =
|
|
157
|
+
clientSecret = '';
|
|
158
158
|
/**
|
|
159
159
|
* @generated from field: string token_url = 3;
|
|
160
160
|
*/
|
|
161
|
-
tokenUrl =
|
|
161
|
+
tokenUrl = '';
|
|
162
162
|
/**
|
|
163
163
|
* @generated from field: string audience = 4;
|
|
164
164
|
*/
|
|
165
|
-
audience =
|
|
165
|
+
audience = '';
|
|
166
166
|
/**
|
|
167
167
|
* @generated from field: string scope = 5;
|
|
168
168
|
*/
|
|
169
|
-
scope =
|
|
169
|
+
scope = '';
|
|
170
170
|
constructor(data) {
|
|
171
171
|
super();
|
|
172
172
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
173
173
|
}
|
|
174
174
|
static runtime = protobuf_1.proto3;
|
|
175
|
-
static typeName =
|
|
175
|
+
static typeName = 'plugins.common.v1.OAuth.ClientCredentialsFlow';
|
|
176
176
|
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
177
|
-
{ no: 1, name:
|
|
178
|
-
{ no: 2, name:
|
|
179
|
-
{ no: 3, name:
|
|
180
|
-
{ no: 4, name:
|
|
181
|
-
{ no: 5, name:
|
|
177
|
+
{ no: 1, name: 'client_id', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
178
|
+
{ no: 2, name: 'client_secret', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
179
|
+
{ no: 3, name: 'token_url', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
180
|
+
{ no: 4, name: 'audience', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
181
|
+
{ no: 5, name: 'scope', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
|
|
182
182
|
]);
|
|
183
183
|
static fromBinary(bytes, options) {
|
|
184
184
|
return new OAuth_ClientCredentialsFlow().fromBinary(bytes, options);
|
|
@@ -201,31 +201,31 @@ class OAuth_AuthorizationCodeFlow extends protobuf_1.Message {
|
|
|
201
201
|
/**
|
|
202
202
|
* @generated from field: string client_id = 1;
|
|
203
203
|
*/
|
|
204
|
-
clientId =
|
|
204
|
+
clientId = '';
|
|
205
205
|
/**
|
|
206
206
|
* @generated from field: string client_secret = 2;
|
|
207
207
|
*/
|
|
208
|
-
clientSecret =
|
|
208
|
+
clientSecret = '';
|
|
209
209
|
/**
|
|
210
210
|
* @generated from field: string token_url = 3;
|
|
211
211
|
*/
|
|
212
|
-
tokenUrl =
|
|
212
|
+
tokenUrl = '';
|
|
213
213
|
/**
|
|
214
214
|
* @generated from field: string auth_url = 4;
|
|
215
215
|
*/
|
|
216
|
-
authUrl =
|
|
216
|
+
authUrl = '';
|
|
217
217
|
/**
|
|
218
218
|
* @generated from field: string audience = 5;
|
|
219
219
|
*/
|
|
220
|
-
audience =
|
|
220
|
+
audience = '';
|
|
221
221
|
/**
|
|
222
222
|
* @generated from field: string scope = 6;
|
|
223
223
|
*/
|
|
224
|
-
scope =
|
|
224
|
+
scope = '';
|
|
225
225
|
/**
|
|
226
226
|
* @generated from field: string token_scope = 7;
|
|
227
227
|
*/
|
|
228
|
-
tokenScope =
|
|
228
|
+
tokenScope = '';
|
|
229
229
|
/**
|
|
230
230
|
* @generated from field: bool refresh_token_from_server = 8;
|
|
231
231
|
*/
|
|
@@ -233,7 +233,7 @@ class OAuth_AuthorizationCodeFlow extends protobuf_1.Message {
|
|
|
233
233
|
/**
|
|
234
234
|
* @generated from field: string client_auth_method = 9;
|
|
235
235
|
*/
|
|
236
|
-
clientAuthMethod =
|
|
236
|
+
clientAuthMethod = '';
|
|
237
237
|
/**
|
|
238
238
|
* @generated from field: plugins.common.v1.OAuth.AuthorizationCodeFlow.SubjectTokenSource subject_token_source = 10;
|
|
239
239
|
*/
|
|
@@ -241,25 +241,30 @@ class OAuth_AuthorizationCodeFlow extends protobuf_1.Message {
|
|
|
241
241
|
/**
|
|
242
242
|
* @generated from field: string subject_token_source_static_token = 11;
|
|
243
243
|
*/
|
|
244
|
-
subjectTokenSourceStaticToken =
|
|
244
|
+
subjectTokenSourceStaticToken = '';
|
|
245
|
+
/**
|
|
246
|
+
* @generated from field: string subject_token_type = 12;
|
|
247
|
+
*/
|
|
248
|
+
subjectTokenType = '';
|
|
245
249
|
constructor(data) {
|
|
246
250
|
super();
|
|
247
251
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
248
252
|
}
|
|
249
253
|
static runtime = protobuf_1.proto3;
|
|
250
|
-
static typeName =
|
|
254
|
+
static typeName = 'plugins.common.v1.OAuth.AuthorizationCodeFlow';
|
|
251
255
|
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
252
|
-
{ no: 1, name:
|
|
253
|
-
{ no: 2, name:
|
|
254
|
-
{ no: 3, name:
|
|
255
|
-
{ no: 4, name:
|
|
256
|
-
{ no: 5, name:
|
|
257
|
-
{ no: 6, name:
|
|
258
|
-
{ no: 7, name:
|
|
259
|
-
{ no: 8, name:
|
|
260
|
-
{ no: 9, name:
|
|
261
|
-
{ no: 10, name:
|
|
262
|
-
{ no: 11, name:
|
|
256
|
+
{ no: 1, name: 'client_id', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
257
|
+
{ no: 2, name: 'client_secret', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
258
|
+
{ no: 3, name: 'token_url', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
259
|
+
{ no: 4, name: 'auth_url', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
260
|
+
{ no: 5, name: 'audience', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
261
|
+
{ no: 6, name: 'scope', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
262
|
+
{ no: 7, name: 'token_scope', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
263
|
+
{ no: 8, name: 'refresh_token_from_server', kind: 'scalar', T: 8 /* ScalarType.BOOL */ },
|
|
264
|
+
{ no: 9, name: 'client_auth_method', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
265
|
+
{ no: 10, name: 'subject_token_source', kind: 'enum', T: protobuf_1.proto3.getEnumType(OAuth_AuthorizationCodeFlow_SubjectTokenSource) },
|
|
266
|
+
{ no: 11, name: 'subject_token_source_static_token', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
267
|
+
{ no: 12, name: 'subject_token_type', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
|
|
263
268
|
]);
|
|
264
269
|
static fromBinary(bytes, options) {
|
|
265
270
|
return new OAuth_AuthorizationCodeFlow().fromBinary(bytes, options);
|
|
@@ -294,10 +299,10 @@ var OAuth_AuthorizationCodeFlow_SubjectTokenSource;
|
|
|
294
299
|
OAuth_AuthorizationCodeFlow_SubjectTokenSource[OAuth_AuthorizationCodeFlow_SubjectTokenSource["STATIC_TOKEN"] = 2] = "STATIC_TOKEN";
|
|
295
300
|
})(OAuth_AuthorizationCodeFlow_SubjectTokenSource || (exports.OAuth_AuthorizationCodeFlow_SubjectTokenSource = OAuth_AuthorizationCodeFlow_SubjectTokenSource = {}));
|
|
296
301
|
// Retrieve enum metadata with: proto3.getEnumType(OAuth_AuthorizationCodeFlow_SubjectTokenSource)
|
|
297
|
-
protobuf_1.proto3.util.setEnumType(OAuth_AuthorizationCodeFlow_SubjectTokenSource,
|
|
298
|
-
{ no: 0, name:
|
|
299
|
-
{ no: 1, name:
|
|
300
|
-
{ no: 2, name:
|
|
302
|
+
protobuf_1.proto3.util.setEnumType(OAuth_AuthorizationCodeFlow_SubjectTokenSource, 'plugins.common.v1.OAuth.AuthorizationCodeFlow.SubjectTokenSource', [
|
|
303
|
+
{ no: 0, name: 'SUBJECT_TOKEN_SOURCE_UNSPECIFIED' },
|
|
304
|
+
{ no: 1, name: 'SUBJECT_TOKEN_SOURCE_LOGIN_IDENTITY_PROVIDER' },
|
|
305
|
+
{ no: 2, name: 'SUBJECT_TOKEN_SOURCE_STATIC_TOKEN' }
|
|
301
306
|
]);
|
|
302
307
|
/**
|
|
303
308
|
* @generated from message plugins.common.v1.Basic
|
|
@@ -306,20 +311,20 @@ class Basic extends protobuf_1.Message {
|
|
|
306
311
|
/**
|
|
307
312
|
* @generated from field: string username = 1;
|
|
308
313
|
*/
|
|
309
|
-
username =
|
|
314
|
+
username = '';
|
|
310
315
|
/**
|
|
311
316
|
* @generated from field: string password = 2;
|
|
312
317
|
*/
|
|
313
|
-
password =
|
|
318
|
+
password = '';
|
|
314
319
|
constructor(data) {
|
|
315
320
|
super();
|
|
316
321
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
317
322
|
}
|
|
318
323
|
static runtime = protobuf_1.proto3;
|
|
319
|
-
static typeName =
|
|
324
|
+
static typeName = 'plugins.common.v1.Basic';
|
|
320
325
|
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
321
|
-
{ no: 1, name:
|
|
322
|
-
{ no: 2, name:
|
|
326
|
+
{ no: 1, name: 'username', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
327
|
+
{ no: 2, name: 'password', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
|
|
323
328
|
]);
|
|
324
329
|
static fromBinary(bytes, options) {
|
|
325
330
|
return new Basic().fromBinary(bytes, options);
|
|
@@ -348,10 +353,10 @@ class Azure extends protobuf_1.Message {
|
|
|
348
353
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
349
354
|
}
|
|
350
355
|
static runtime = protobuf_1.proto3;
|
|
351
|
-
static typeName =
|
|
356
|
+
static typeName = 'plugins.common.v1.Azure';
|
|
352
357
|
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
353
|
-
{ no: 1, name:
|
|
354
|
-
{ no: 2, name:
|
|
358
|
+
{ no: 1, name: 'key', kind: 'message', T: Azure_Key, oneof: 'config' },
|
|
359
|
+
{ no: 2, name: 'client_credentials', kind: 'message', T: Azure_ClientCredentials, oneof: 'config' }
|
|
355
360
|
]);
|
|
356
361
|
static fromBinary(bytes, options) {
|
|
357
362
|
return new Azure().fromBinary(bytes, options);
|
|
@@ -374,15 +379,15 @@ class Azure_Key extends protobuf_1.Message {
|
|
|
374
379
|
/**
|
|
375
380
|
* @generated from field: string master_key = 1;
|
|
376
381
|
*/
|
|
377
|
-
masterKey =
|
|
382
|
+
masterKey = '';
|
|
378
383
|
constructor(data) {
|
|
379
384
|
super();
|
|
380
385
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
381
386
|
}
|
|
382
387
|
static runtime = protobuf_1.proto3;
|
|
383
|
-
static typeName =
|
|
388
|
+
static typeName = 'plugins.common.v1.Azure.Key';
|
|
384
389
|
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
385
|
-
{ no: 1, name:
|
|
390
|
+
{ no: 1, name: 'master_key', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
|
|
386
391
|
]);
|
|
387
392
|
static fromBinary(bytes, options) {
|
|
388
393
|
return new Azure_Key().fromBinary(bytes, options);
|
|
@@ -405,20 +410,20 @@ class Azure_ClientCredentials extends protobuf_1.Message {
|
|
|
405
410
|
/**
|
|
406
411
|
* @generated from field: string client_id = 1;
|
|
407
412
|
*/
|
|
408
|
-
clientId =
|
|
413
|
+
clientId = '';
|
|
409
414
|
/**
|
|
410
415
|
* @generated from field: string client_secret = 2;
|
|
411
416
|
*/
|
|
412
|
-
clientSecret =
|
|
417
|
+
clientSecret = '';
|
|
413
418
|
constructor(data) {
|
|
414
419
|
super();
|
|
415
420
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
416
421
|
}
|
|
417
422
|
static runtime = protobuf_1.proto3;
|
|
418
|
-
static typeName =
|
|
423
|
+
static typeName = 'plugins.common.v1.Azure.ClientCredentials';
|
|
419
424
|
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
420
|
-
{ no: 1, name:
|
|
421
|
-
{ no: 2, name:
|
|
425
|
+
{ no: 1, name: 'client_id', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
426
|
+
{ no: 2, name: 'client_secret', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
|
|
422
427
|
]);
|
|
423
428
|
static fromBinary(bytes, options) {
|
|
424
429
|
return new Azure_ClientCredentials().fromBinary(bytes, options);
|
|
@@ -445,17 +450,17 @@ class AwsAuth extends protobuf_1.Message {
|
|
|
445
450
|
/**
|
|
446
451
|
* @generated from field: string region = 3;
|
|
447
452
|
*/
|
|
448
|
-
region =
|
|
453
|
+
region = '';
|
|
449
454
|
constructor(data) {
|
|
450
455
|
super();
|
|
451
456
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
452
457
|
}
|
|
453
458
|
static runtime = protobuf_1.proto3;
|
|
454
|
-
static typeName =
|
|
459
|
+
static typeName = 'plugins.common.v1.AwsAuth';
|
|
455
460
|
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
456
|
-
{ no: 1, name:
|
|
457
|
-
{ no: 2, name:
|
|
458
|
-
{ no: 3, name:
|
|
461
|
+
{ no: 1, name: 'static', kind: 'message', T: AwsAuth_Static, oneof: 'config' },
|
|
462
|
+
{ no: 2, name: 'assume_role', kind: 'message', T: AwsAuth_AssumeRole, oneof: 'config' },
|
|
463
|
+
{ no: 3, name: 'region', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
|
|
459
464
|
]);
|
|
460
465
|
static fromBinary(bytes, options) {
|
|
461
466
|
return new AwsAuth().fromBinary(bytes, options);
|
|
@@ -478,20 +483,20 @@ class AwsAuth_Static extends protobuf_1.Message {
|
|
|
478
483
|
/**
|
|
479
484
|
* @generated from field: string access_key_id = 1;
|
|
480
485
|
*/
|
|
481
|
-
accessKeyId =
|
|
486
|
+
accessKeyId = '';
|
|
482
487
|
/**
|
|
483
488
|
* @generated from field: string secret_access_key = 2;
|
|
484
489
|
*/
|
|
485
|
-
secretAccessKey =
|
|
490
|
+
secretAccessKey = '';
|
|
486
491
|
constructor(data) {
|
|
487
492
|
super();
|
|
488
493
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
489
494
|
}
|
|
490
495
|
static runtime = protobuf_1.proto3;
|
|
491
|
-
static typeName =
|
|
496
|
+
static typeName = 'plugins.common.v1.AwsAuth.Static';
|
|
492
497
|
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
493
|
-
{ no: 1, name:
|
|
494
|
-
{ no: 2, name:
|
|
498
|
+
{ no: 1, name: 'access_key_id', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
499
|
+
{ no: 2, name: 'secret_access_key', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
|
|
495
500
|
]);
|
|
496
501
|
static fromBinary(bytes, options) {
|
|
497
502
|
return new AwsAuth_Static().fromBinary(bytes, options);
|
|
@@ -514,15 +519,15 @@ class AwsAuth_AssumeRole extends protobuf_1.Message {
|
|
|
514
519
|
/**
|
|
515
520
|
* @generated from field: string role_arn = 3;
|
|
516
521
|
*/
|
|
517
|
-
roleArn =
|
|
522
|
+
roleArn = '';
|
|
518
523
|
constructor(data) {
|
|
519
524
|
super();
|
|
520
525
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
521
526
|
}
|
|
522
527
|
static runtime = protobuf_1.proto3;
|
|
523
|
-
static typeName =
|
|
528
|
+
static typeName = 'plugins.common.v1.AwsAuth.AssumeRole';
|
|
524
529
|
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
525
|
-
{ no: 3, name:
|
|
530
|
+
{ no: 3, name: 'role_arn', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
|
|
526
531
|
]);
|
|
527
532
|
static fromBinary(bytes, options) {
|
|
528
533
|
return new AwsAuth_AssumeRole().fromBinary(bytes, options);
|
|
@@ -551,9 +556,9 @@ class GcpAuth extends protobuf_1.Message {
|
|
|
551
556
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
552
557
|
}
|
|
553
558
|
static runtime = protobuf_1.proto3;
|
|
554
|
-
static typeName =
|
|
559
|
+
static typeName = 'plugins.common.v1.GcpAuth';
|
|
555
560
|
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
556
|
-
{ no: 1, name:
|
|
561
|
+
{ no: 1, name: 'service_account', kind: 'scalar', T: 12 /* ScalarType.BYTES */, oneof: 'config' }
|
|
557
562
|
]);
|
|
558
563
|
static fromBinary(bytes, options) {
|
|
559
564
|
return new GcpAuth().fromBinary(bytes, options);
|
|
@@ -582,10 +587,10 @@ class AkeylessAuth extends protobuf_1.Message {
|
|
|
582
587
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
583
588
|
}
|
|
584
589
|
static runtime = protobuf_1.proto3;
|
|
585
|
-
static typeName =
|
|
590
|
+
static typeName = 'plugins.common.v1.AkeylessAuth';
|
|
586
591
|
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
587
|
-
{ no: 1, name:
|
|
588
|
-
{ no: 2, name:
|
|
592
|
+
{ no: 1, name: 'api_key', kind: 'message', T: AkeylessAuth_ApiKey, oneof: 'config' },
|
|
593
|
+
{ no: 2, name: 'email', kind: 'message', T: AkeylessAuth_Email, oneof: 'config' }
|
|
589
594
|
]);
|
|
590
595
|
static fromBinary(bytes, options) {
|
|
591
596
|
return new AkeylessAuth().fromBinary(bytes, options);
|
|
@@ -608,20 +613,20 @@ class AkeylessAuth_ApiKey extends protobuf_1.Message {
|
|
|
608
613
|
/**
|
|
609
614
|
* @generated from field: string access_id = 1;
|
|
610
615
|
*/
|
|
611
|
-
accessId =
|
|
616
|
+
accessId = '';
|
|
612
617
|
/**
|
|
613
618
|
* @generated from field: string access_key = 2;
|
|
614
619
|
*/
|
|
615
|
-
accessKey =
|
|
620
|
+
accessKey = '';
|
|
616
621
|
constructor(data) {
|
|
617
622
|
super();
|
|
618
623
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
619
624
|
}
|
|
620
625
|
static runtime = protobuf_1.proto3;
|
|
621
|
-
static typeName =
|
|
626
|
+
static typeName = 'plugins.common.v1.AkeylessAuth.ApiKey';
|
|
622
627
|
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
623
|
-
{ no: 1, name:
|
|
624
|
-
{ no: 2, name:
|
|
628
|
+
{ no: 1, name: 'access_id', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
629
|
+
{ no: 2, name: 'access_key', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
|
|
625
630
|
]);
|
|
626
631
|
static fromBinary(bytes, options) {
|
|
627
632
|
return new AkeylessAuth_ApiKey().fromBinary(bytes, options);
|
|
@@ -644,20 +649,20 @@ class AkeylessAuth_Email extends protobuf_1.Message {
|
|
|
644
649
|
/**
|
|
645
650
|
* @generated from field: string email = 1;
|
|
646
651
|
*/
|
|
647
|
-
email =
|
|
652
|
+
email = '';
|
|
648
653
|
/**
|
|
649
654
|
* @generated from field: string password = 2;
|
|
650
655
|
*/
|
|
651
|
-
password =
|
|
656
|
+
password = '';
|
|
652
657
|
constructor(data) {
|
|
653
658
|
super();
|
|
654
659
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
655
660
|
}
|
|
656
661
|
static runtime = protobuf_1.proto3;
|
|
657
|
-
static typeName =
|
|
662
|
+
static typeName = 'plugins.common.v1.AkeylessAuth.Email';
|
|
658
663
|
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
659
|
-
{ no: 1, name:
|
|
660
|
-
{ no: 2, name:
|
|
664
|
+
{ no: 1, name: 'email', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
665
|
+
{ no: 2, name: 'password', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
|
|
661
666
|
]);
|
|
662
667
|
static fromBinary(bytes, options) {
|
|
663
668
|
return new AkeylessAuth_Email().fromBinary(bytes, options);
|
|
@@ -686,13 +691,14 @@ class Auth extends protobuf_1.Message {
|
|
|
686
691
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
687
692
|
}
|
|
688
693
|
static runtime = protobuf_1.proto3;
|
|
689
|
-
static typeName =
|
|
694
|
+
static typeName = 'plugins.common.v1.Auth';
|
|
690
695
|
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
691
|
-
{ no: 1, name:
|
|
692
|
-
{ no: 2, name:
|
|
693
|
-
{ no: 3, name:
|
|
694
|
-
{ no: 4, name:
|
|
695
|
-
{ no: 5, name:
|
|
696
|
+
{ no: 1, name: 'password_grant_flow', kind: 'message', T: OAuth_PasswordGrantFlow, oneof: 'method' },
|
|
697
|
+
{ no: 2, name: 'authorization_code_flow', kind: 'message', T: OAuth_AuthorizationCodeFlow, oneof: 'method' },
|
|
698
|
+
{ no: 3, name: 'basic', kind: 'message', T: Basic, oneof: 'method' },
|
|
699
|
+
{ no: 4, name: 'client_credentials_flow', kind: 'message', T: OAuth_ClientCredentialsFlow, oneof: 'method' },
|
|
700
|
+
{ no: 5, name: 'key', kind: 'message', T: Azure_Key, oneof: 'method' },
|
|
701
|
+
{ no: 6, name: 'oauth_token_exchange', jsonName: 'oauth-token-exchange', kind: 'message', T: Auth_Nothing, oneof: 'method' }
|
|
696
702
|
]);
|
|
697
703
|
static fromBinary(bytes, options) {
|
|
698
704
|
return new Auth().fromBinary(bytes, options);
|
|
@@ -708,4 +714,29 @@ class Auth extends protobuf_1.Message {
|
|
|
708
714
|
}
|
|
709
715
|
}
|
|
710
716
|
exports.Auth = Auth;
|
|
717
|
+
/**
|
|
718
|
+
* @generated from message plugins.common.v1.Auth.Nothing
|
|
719
|
+
*/
|
|
720
|
+
class Auth_Nothing extends protobuf_1.Message {
|
|
721
|
+
constructor(data) {
|
|
722
|
+
super();
|
|
723
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
724
|
+
}
|
|
725
|
+
static runtime = protobuf_1.proto3;
|
|
726
|
+
static typeName = 'plugins.common.v1.Auth.Nothing';
|
|
727
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => []);
|
|
728
|
+
static fromBinary(bytes, options) {
|
|
729
|
+
return new Auth_Nothing().fromBinary(bytes, options);
|
|
730
|
+
}
|
|
731
|
+
static fromJson(jsonValue, options) {
|
|
732
|
+
return new Auth_Nothing().fromJson(jsonValue, options);
|
|
733
|
+
}
|
|
734
|
+
static fromJsonString(jsonString, options) {
|
|
735
|
+
return new Auth_Nothing().fromJsonString(jsonString, options);
|
|
736
|
+
}
|
|
737
|
+
static equals(a, b) {
|
|
738
|
+
return protobuf_1.proto3.util.equals(Auth_Nothing, a, b);
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
exports.Auth_Nothing = Auth_Nothing;
|
|
711
742
|
//# sourceMappingURL=auth_pb.js.map
|