@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
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from
|
|
7
|
-
import { Message, proto3 } from
|
|
6
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from '@bufbuild/protobuf';
|
|
7
|
+
import { Message, proto3 } from '@bufbuild/protobuf';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @generated from message plugins.common.v1.OAuthCommon
|
|
@@ -13,27 +13,27 @@ export class OAuthCommon extends Message<OAuthCommon> {
|
|
|
13
13
|
/**
|
|
14
14
|
* @generated from field: string client_id = 1;
|
|
15
15
|
*/
|
|
16
|
-
clientId =
|
|
16
|
+
clientId = '';
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* @generated from field: string client_secret = 2;
|
|
20
20
|
*/
|
|
21
|
-
clientSecret =
|
|
21
|
+
clientSecret = '';
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
* @generated from field: string token_url = 3;
|
|
25
25
|
*/
|
|
26
|
-
tokenUrl =
|
|
26
|
+
tokenUrl = '';
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
29
|
* @generated from field: string audience = 4;
|
|
30
30
|
*/
|
|
31
|
-
audience =
|
|
31
|
+
audience = '';
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
34
|
* @generated from field: string scope = 5;
|
|
35
35
|
*/
|
|
36
|
-
scope =
|
|
36
|
+
scope = '';
|
|
37
37
|
|
|
38
38
|
constructor(data?: PartialMessage<OAuthCommon>) {
|
|
39
39
|
super();
|
|
@@ -41,13 +41,13 @@ export class OAuthCommon extends Message<OAuthCommon> {
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
static readonly runtime: typeof proto3 = proto3;
|
|
44
|
-
static readonly typeName =
|
|
44
|
+
static readonly typeName = 'plugins.common.v1.OAuthCommon';
|
|
45
45
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
46
|
-
{ no: 1, name:
|
|
47
|
-
{ no: 2, name:
|
|
48
|
-
{ no: 3, name:
|
|
49
|
-
{ no: 4, name:
|
|
50
|
-
{ no: 5, name:
|
|
46
|
+
{ no: 1, name: 'client_id', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
47
|
+
{ no: 2, name: 'client_secret', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
48
|
+
{ no: 3, name: 'token_url', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
49
|
+
{ no: 4, name: 'audience', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
50
|
+
{ no: 5, name: 'scope', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
|
|
51
51
|
]);
|
|
52
52
|
|
|
53
53
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OAuthCommon {
|
|
@@ -77,9 +77,8 @@ export class OAuth extends Message<OAuth> {
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
static readonly runtime: typeof proto3 = proto3;
|
|
80
|
-
static readonly typeName =
|
|
81
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
82
|
-
]);
|
|
80
|
+
static readonly typeName = 'plugins.common.v1.OAuth';
|
|
81
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => []);
|
|
83
82
|
|
|
84
83
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OAuth {
|
|
85
84
|
return new OAuth().fromBinary(bytes, options);
|
|
@@ -105,37 +104,37 @@ export class OAuth_PasswordGrantFlow extends Message<OAuth_PasswordGrantFlow> {
|
|
|
105
104
|
/**
|
|
106
105
|
* @generated from field: string client_id = 1;
|
|
107
106
|
*/
|
|
108
|
-
clientId =
|
|
107
|
+
clientId = '';
|
|
109
108
|
|
|
110
109
|
/**
|
|
111
110
|
* @generated from field: string client_secret = 2;
|
|
112
111
|
*/
|
|
113
|
-
clientSecret =
|
|
112
|
+
clientSecret = '';
|
|
114
113
|
|
|
115
114
|
/**
|
|
116
115
|
* @generated from field: string token_url = 3;
|
|
117
116
|
*/
|
|
118
|
-
tokenUrl =
|
|
117
|
+
tokenUrl = '';
|
|
119
118
|
|
|
120
119
|
/**
|
|
121
120
|
* @generated from field: string username = 4;
|
|
122
121
|
*/
|
|
123
|
-
username =
|
|
122
|
+
username = '';
|
|
124
123
|
|
|
125
124
|
/**
|
|
126
125
|
* @generated from field: string password = 5;
|
|
127
126
|
*/
|
|
128
|
-
password =
|
|
127
|
+
password = '';
|
|
129
128
|
|
|
130
129
|
/**
|
|
131
130
|
* @generated from field: string audience = 6;
|
|
132
131
|
*/
|
|
133
|
-
audience =
|
|
132
|
+
audience = '';
|
|
134
133
|
|
|
135
134
|
/**
|
|
136
135
|
* @generated from field: string scope = 7;
|
|
137
136
|
*/
|
|
138
|
-
scope =
|
|
137
|
+
scope = '';
|
|
139
138
|
|
|
140
139
|
constructor(data?: PartialMessage<OAuth_PasswordGrantFlow>) {
|
|
141
140
|
super();
|
|
@@ -143,15 +142,15 @@ export class OAuth_PasswordGrantFlow extends Message<OAuth_PasswordGrantFlow> {
|
|
|
143
142
|
}
|
|
144
143
|
|
|
145
144
|
static readonly runtime: typeof proto3 = proto3;
|
|
146
|
-
static readonly typeName =
|
|
145
|
+
static readonly typeName = 'plugins.common.v1.OAuth.PasswordGrantFlow';
|
|
147
146
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
148
|
-
{ no: 1, name:
|
|
149
|
-
{ no: 2, name:
|
|
150
|
-
{ no: 3, name:
|
|
151
|
-
{ no: 4, name:
|
|
152
|
-
{ no: 5, name:
|
|
153
|
-
{ no: 6, name:
|
|
154
|
-
{ no: 7, name:
|
|
147
|
+
{ no: 1, name: 'client_id', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
148
|
+
{ no: 2, name: 'client_secret', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
149
|
+
{ no: 3, name: 'token_url', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
150
|
+
{ no: 4, name: 'username', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
151
|
+
{ no: 5, name: 'password', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
152
|
+
{ no: 6, name: 'audience', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
153
|
+
{ no: 7, name: 'scope', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
|
|
155
154
|
]);
|
|
156
155
|
|
|
157
156
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OAuth_PasswordGrantFlow {
|
|
@@ -166,7 +165,10 @@ export class OAuth_PasswordGrantFlow extends Message<OAuth_PasswordGrantFlow> {
|
|
|
166
165
|
return new OAuth_PasswordGrantFlow().fromJsonString(jsonString, options);
|
|
167
166
|
}
|
|
168
167
|
|
|
169
|
-
static equals(
|
|
168
|
+
static equals(
|
|
169
|
+
a: OAuth_PasswordGrantFlow | PlainMessage<OAuth_PasswordGrantFlow> | undefined,
|
|
170
|
+
b: OAuth_PasswordGrantFlow | PlainMessage<OAuth_PasswordGrantFlow> | undefined
|
|
171
|
+
): boolean {
|
|
170
172
|
return proto3.util.equals(OAuth_PasswordGrantFlow, a, b);
|
|
171
173
|
}
|
|
172
174
|
}
|
|
@@ -178,27 +180,27 @@ export class OAuth_ClientCredentialsFlow extends Message<OAuth_ClientCredentials
|
|
|
178
180
|
/**
|
|
179
181
|
* @generated from field: string client_id = 1;
|
|
180
182
|
*/
|
|
181
|
-
clientId =
|
|
183
|
+
clientId = '';
|
|
182
184
|
|
|
183
185
|
/**
|
|
184
186
|
* @generated from field: string client_secret = 2;
|
|
185
187
|
*/
|
|
186
|
-
clientSecret =
|
|
188
|
+
clientSecret = '';
|
|
187
189
|
|
|
188
190
|
/**
|
|
189
191
|
* @generated from field: string token_url = 3;
|
|
190
192
|
*/
|
|
191
|
-
tokenUrl =
|
|
193
|
+
tokenUrl = '';
|
|
192
194
|
|
|
193
195
|
/**
|
|
194
196
|
* @generated from field: string audience = 4;
|
|
195
197
|
*/
|
|
196
|
-
audience =
|
|
198
|
+
audience = '';
|
|
197
199
|
|
|
198
200
|
/**
|
|
199
201
|
* @generated from field: string scope = 5;
|
|
200
202
|
*/
|
|
201
|
-
scope =
|
|
203
|
+
scope = '';
|
|
202
204
|
|
|
203
205
|
constructor(data?: PartialMessage<OAuth_ClientCredentialsFlow>) {
|
|
204
206
|
super();
|
|
@@ -206,13 +208,13 @@ export class OAuth_ClientCredentialsFlow extends Message<OAuth_ClientCredentials
|
|
|
206
208
|
}
|
|
207
209
|
|
|
208
210
|
static readonly runtime: typeof proto3 = proto3;
|
|
209
|
-
static readonly typeName =
|
|
211
|
+
static readonly typeName = 'plugins.common.v1.OAuth.ClientCredentialsFlow';
|
|
210
212
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
211
|
-
{ no: 1, name:
|
|
212
|
-
{ no: 2, name:
|
|
213
|
-
{ no: 3, name:
|
|
214
|
-
{ no: 4, name:
|
|
215
|
-
{ no: 5, name:
|
|
213
|
+
{ no: 1, name: 'client_id', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
214
|
+
{ no: 2, name: 'client_secret', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
215
|
+
{ no: 3, name: 'token_url', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
216
|
+
{ no: 4, name: 'audience', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
217
|
+
{ no: 5, name: 'scope', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
|
|
216
218
|
]);
|
|
217
219
|
|
|
218
220
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OAuth_ClientCredentialsFlow {
|
|
@@ -227,7 +229,10 @@ export class OAuth_ClientCredentialsFlow extends Message<OAuth_ClientCredentials
|
|
|
227
229
|
return new OAuth_ClientCredentialsFlow().fromJsonString(jsonString, options);
|
|
228
230
|
}
|
|
229
231
|
|
|
230
|
-
static equals(
|
|
232
|
+
static equals(
|
|
233
|
+
a: OAuth_ClientCredentialsFlow | PlainMessage<OAuth_ClientCredentialsFlow> | undefined,
|
|
234
|
+
b: OAuth_ClientCredentialsFlow | PlainMessage<OAuth_ClientCredentialsFlow> | undefined
|
|
235
|
+
): boolean {
|
|
231
236
|
return proto3.util.equals(OAuth_ClientCredentialsFlow, a, b);
|
|
232
237
|
}
|
|
233
238
|
}
|
|
@@ -239,37 +244,37 @@ export class OAuth_AuthorizationCodeFlow extends Message<OAuth_AuthorizationCode
|
|
|
239
244
|
/**
|
|
240
245
|
* @generated from field: string client_id = 1;
|
|
241
246
|
*/
|
|
242
|
-
clientId =
|
|
247
|
+
clientId = '';
|
|
243
248
|
|
|
244
249
|
/**
|
|
245
250
|
* @generated from field: string client_secret = 2;
|
|
246
251
|
*/
|
|
247
|
-
clientSecret =
|
|
252
|
+
clientSecret = '';
|
|
248
253
|
|
|
249
254
|
/**
|
|
250
255
|
* @generated from field: string token_url = 3;
|
|
251
256
|
*/
|
|
252
|
-
tokenUrl =
|
|
257
|
+
tokenUrl = '';
|
|
253
258
|
|
|
254
259
|
/**
|
|
255
260
|
* @generated from field: string auth_url = 4;
|
|
256
261
|
*/
|
|
257
|
-
authUrl =
|
|
262
|
+
authUrl = '';
|
|
258
263
|
|
|
259
264
|
/**
|
|
260
265
|
* @generated from field: string audience = 5;
|
|
261
266
|
*/
|
|
262
|
-
audience =
|
|
267
|
+
audience = '';
|
|
263
268
|
|
|
264
269
|
/**
|
|
265
270
|
* @generated from field: string scope = 6;
|
|
266
271
|
*/
|
|
267
|
-
scope =
|
|
272
|
+
scope = '';
|
|
268
273
|
|
|
269
274
|
/**
|
|
270
275
|
* @generated from field: string token_scope = 7;
|
|
271
276
|
*/
|
|
272
|
-
tokenScope =
|
|
277
|
+
tokenScope = '';
|
|
273
278
|
|
|
274
279
|
/**
|
|
275
280
|
* @generated from field: bool refresh_token_from_server = 8;
|
|
@@ -279,7 +284,7 @@ export class OAuth_AuthorizationCodeFlow extends Message<OAuth_AuthorizationCode
|
|
|
279
284
|
/**
|
|
280
285
|
* @generated from field: string client_auth_method = 9;
|
|
281
286
|
*/
|
|
282
|
-
clientAuthMethod =
|
|
287
|
+
clientAuthMethod = '';
|
|
283
288
|
|
|
284
289
|
/**
|
|
285
290
|
* @generated from field: plugins.common.v1.OAuth.AuthorizationCodeFlow.SubjectTokenSource subject_token_source = 10;
|
|
@@ -289,7 +294,12 @@ export class OAuth_AuthorizationCodeFlow extends Message<OAuth_AuthorizationCode
|
|
|
289
294
|
/**
|
|
290
295
|
* @generated from field: string subject_token_source_static_token = 11;
|
|
291
296
|
*/
|
|
292
|
-
subjectTokenSourceStaticToken =
|
|
297
|
+
subjectTokenSourceStaticToken = '';
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* @generated from field: string subject_token_type = 12;
|
|
301
|
+
*/
|
|
302
|
+
subjectTokenType = '';
|
|
293
303
|
|
|
294
304
|
constructor(data?: PartialMessage<OAuth_AuthorizationCodeFlow>) {
|
|
295
305
|
super();
|
|
@@ -297,19 +307,20 @@ export class OAuth_AuthorizationCodeFlow extends Message<OAuth_AuthorizationCode
|
|
|
297
307
|
}
|
|
298
308
|
|
|
299
309
|
static readonly runtime: typeof proto3 = proto3;
|
|
300
|
-
static readonly typeName =
|
|
310
|
+
static readonly typeName = 'plugins.common.v1.OAuth.AuthorizationCodeFlow';
|
|
301
311
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
302
|
-
{ no: 1, name:
|
|
303
|
-
{ no: 2, name:
|
|
304
|
-
{ no: 3, name:
|
|
305
|
-
{ no: 4, name:
|
|
306
|
-
{ no: 5, name:
|
|
307
|
-
{ no: 6, name:
|
|
308
|
-
{ no: 7, name:
|
|
309
|
-
{ no: 8, name:
|
|
310
|
-
{ no: 9, name:
|
|
311
|
-
{ no: 10, name:
|
|
312
|
-
{ no: 11, name:
|
|
312
|
+
{ no: 1, name: 'client_id', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
313
|
+
{ no: 2, name: 'client_secret', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
314
|
+
{ no: 3, name: 'token_url', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
315
|
+
{ no: 4, name: 'auth_url', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
316
|
+
{ no: 5, name: 'audience', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
317
|
+
{ no: 6, name: 'scope', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
318
|
+
{ no: 7, name: 'token_scope', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
319
|
+
{ no: 8, name: 'refresh_token_from_server', kind: 'scalar', T: 8 /* ScalarType.BOOL */ },
|
|
320
|
+
{ no: 9, name: 'client_auth_method', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
321
|
+
{ no: 10, name: 'subject_token_source', kind: 'enum', T: proto3.getEnumType(OAuth_AuthorizationCodeFlow_SubjectTokenSource) },
|
|
322
|
+
{ no: 11, name: 'subject_token_source_static_token', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
323
|
+
{ no: 12, name: 'subject_token_type', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
|
|
313
324
|
]);
|
|
314
325
|
|
|
315
326
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OAuth_AuthorizationCodeFlow {
|
|
@@ -324,7 +335,10 @@ export class OAuth_AuthorizationCodeFlow extends Message<OAuth_AuthorizationCode
|
|
|
324
335
|
return new OAuth_AuthorizationCodeFlow().fromJsonString(jsonString, options);
|
|
325
336
|
}
|
|
326
337
|
|
|
327
|
-
static equals(
|
|
338
|
+
static equals(
|
|
339
|
+
a: OAuth_AuthorizationCodeFlow | PlainMessage<OAuth_AuthorizationCodeFlow> | undefined,
|
|
340
|
+
b: OAuth_AuthorizationCodeFlow | PlainMessage<OAuth_AuthorizationCodeFlow> | undefined
|
|
341
|
+
): boolean {
|
|
328
342
|
return proto3.util.equals(OAuth_AuthorizationCodeFlow, a, b);
|
|
329
343
|
}
|
|
330
344
|
}
|
|
@@ -346,14 +360,18 @@ export enum OAuth_AuthorizationCodeFlow_SubjectTokenSource {
|
|
|
346
360
|
/**
|
|
347
361
|
* @generated from enum value: SUBJECT_TOKEN_SOURCE_STATIC_TOKEN = 2;
|
|
348
362
|
*/
|
|
349
|
-
STATIC_TOKEN = 2
|
|
363
|
+
STATIC_TOKEN = 2
|
|
350
364
|
}
|
|
351
365
|
// Retrieve enum metadata with: proto3.getEnumType(OAuth_AuthorizationCodeFlow_SubjectTokenSource)
|
|
352
|
-
proto3.util.setEnumType(
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
366
|
+
proto3.util.setEnumType(
|
|
367
|
+
OAuth_AuthorizationCodeFlow_SubjectTokenSource,
|
|
368
|
+
'plugins.common.v1.OAuth.AuthorizationCodeFlow.SubjectTokenSource',
|
|
369
|
+
[
|
|
370
|
+
{ no: 0, name: 'SUBJECT_TOKEN_SOURCE_UNSPECIFIED' },
|
|
371
|
+
{ no: 1, name: 'SUBJECT_TOKEN_SOURCE_LOGIN_IDENTITY_PROVIDER' },
|
|
372
|
+
{ no: 2, name: 'SUBJECT_TOKEN_SOURCE_STATIC_TOKEN' }
|
|
373
|
+
]
|
|
374
|
+
);
|
|
357
375
|
|
|
358
376
|
/**
|
|
359
377
|
* @generated from message plugins.common.v1.Basic
|
|
@@ -362,12 +380,12 @@ export class Basic extends Message<Basic> {
|
|
|
362
380
|
/**
|
|
363
381
|
* @generated from field: string username = 1;
|
|
364
382
|
*/
|
|
365
|
-
username =
|
|
383
|
+
username = '';
|
|
366
384
|
|
|
367
385
|
/**
|
|
368
386
|
* @generated from field: string password = 2;
|
|
369
387
|
*/
|
|
370
|
-
password =
|
|
388
|
+
password = '';
|
|
371
389
|
|
|
372
390
|
constructor(data?: PartialMessage<Basic>) {
|
|
373
391
|
super();
|
|
@@ -375,10 +393,10 @@ export class Basic extends Message<Basic> {
|
|
|
375
393
|
}
|
|
376
394
|
|
|
377
395
|
static readonly runtime: typeof proto3 = proto3;
|
|
378
|
-
static readonly typeName =
|
|
396
|
+
static readonly typeName = 'plugins.common.v1.Basic';
|
|
379
397
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
380
|
-
{ no: 1, name:
|
|
381
|
-
{ no: 2, name:
|
|
398
|
+
{ no: 1, name: 'username', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
399
|
+
{ no: 2, name: 'password', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
|
|
382
400
|
]);
|
|
383
401
|
|
|
384
402
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Basic {
|
|
@@ -405,19 +423,22 @@ export class Azure extends Message<Azure> {
|
|
|
405
423
|
/**
|
|
406
424
|
* @generated from oneof plugins.common.v1.Azure.config
|
|
407
425
|
*/
|
|
408
|
-
config:
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
426
|
+
config:
|
|
427
|
+
| {
|
|
428
|
+
/**
|
|
429
|
+
* @generated from field: plugins.common.v1.Azure.Key key = 1;
|
|
430
|
+
*/
|
|
431
|
+
value: Azure_Key;
|
|
432
|
+
case: 'key';
|
|
433
|
+
}
|
|
434
|
+
| {
|
|
435
|
+
/**
|
|
436
|
+
* @generated from field: plugins.common.v1.Azure.ClientCredentials client_credentials = 2;
|
|
437
|
+
*/
|
|
438
|
+
value: Azure_ClientCredentials;
|
|
439
|
+
case: 'clientCredentials';
|
|
440
|
+
}
|
|
441
|
+
| { case: undefined; value?: undefined } = { case: undefined };
|
|
421
442
|
|
|
422
443
|
constructor(data?: PartialMessage<Azure>) {
|
|
423
444
|
super();
|
|
@@ -425,10 +446,10 @@ export class Azure extends Message<Azure> {
|
|
|
425
446
|
}
|
|
426
447
|
|
|
427
448
|
static readonly runtime: typeof proto3 = proto3;
|
|
428
|
-
static readonly typeName =
|
|
449
|
+
static readonly typeName = 'plugins.common.v1.Azure';
|
|
429
450
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
430
|
-
{ no: 1, name:
|
|
431
|
-
{ no: 2, name:
|
|
451
|
+
{ no: 1, name: 'key', kind: 'message', T: Azure_Key, oneof: 'config' },
|
|
452
|
+
{ no: 2, name: 'client_credentials', kind: 'message', T: Azure_ClientCredentials, oneof: 'config' }
|
|
432
453
|
]);
|
|
433
454
|
|
|
434
455
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Azure {
|
|
@@ -455,7 +476,7 @@ export class Azure_Key extends Message<Azure_Key> {
|
|
|
455
476
|
/**
|
|
456
477
|
* @generated from field: string master_key = 1;
|
|
457
478
|
*/
|
|
458
|
-
masterKey =
|
|
479
|
+
masterKey = '';
|
|
459
480
|
|
|
460
481
|
constructor(data?: PartialMessage<Azure_Key>) {
|
|
461
482
|
super();
|
|
@@ -463,9 +484,9 @@ export class Azure_Key extends Message<Azure_Key> {
|
|
|
463
484
|
}
|
|
464
485
|
|
|
465
486
|
static readonly runtime: typeof proto3 = proto3;
|
|
466
|
-
static readonly typeName =
|
|
487
|
+
static readonly typeName = 'plugins.common.v1.Azure.Key';
|
|
467
488
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
468
|
-
{ no: 1, name:
|
|
489
|
+
{ no: 1, name: 'master_key', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
|
|
469
490
|
]);
|
|
470
491
|
|
|
471
492
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Azure_Key {
|
|
@@ -492,12 +513,12 @@ export class Azure_ClientCredentials extends Message<Azure_ClientCredentials> {
|
|
|
492
513
|
/**
|
|
493
514
|
* @generated from field: string client_id = 1;
|
|
494
515
|
*/
|
|
495
|
-
clientId =
|
|
516
|
+
clientId = '';
|
|
496
517
|
|
|
497
518
|
/**
|
|
498
519
|
* @generated from field: string client_secret = 2;
|
|
499
520
|
*/
|
|
500
|
-
clientSecret =
|
|
521
|
+
clientSecret = '';
|
|
501
522
|
|
|
502
523
|
constructor(data?: PartialMessage<Azure_ClientCredentials>) {
|
|
503
524
|
super();
|
|
@@ -505,10 +526,10 @@ export class Azure_ClientCredentials extends Message<Azure_ClientCredentials> {
|
|
|
505
526
|
}
|
|
506
527
|
|
|
507
528
|
static readonly runtime: typeof proto3 = proto3;
|
|
508
|
-
static readonly typeName =
|
|
529
|
+
static readonly typeName = 'plugins.common.v1.Azure.ClientCredentials';
|
|
509
530
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
510
|
-
{ no: 1, name:
|
|
511
|
-
{ no: 2, name:
|
|
531
|
+
{ no: 1, name: 'client_id', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
532
|
+
{ no: 2, name: 'client_secret', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
|
|
512
533
|
]);
|
|
513
534
|
|
|
514
535
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Azure_ClientCredentials {
|
|
@@ -523,7 +544,10 @@ export class Azure_ClientCredentials extends Message<Azure_ClientCredentials> {
|
|
|
523
544
|
return new Azure_ClientCredentials().fromJsonString(jsonString, options);
|
|
524
545
|
}
|
|
525
546
|
|
|
526
|
-
static equals(
|
|
547
|
+
static equals(
|
|
548
|
+
a: Azure_ClientCredentials | PlainMessage<Azure_ClientCredentials> | undefined,
|
|
549
|
+
b: Azure_ClientCredentials | PlainMessage<Azure_ClientCredentials> | undefined
|
|
550
|
+
): boolean {
|
|
527
551
|
return proto3.util.equals(Azure_ClientCredentials, a, b);
|
|
528
552
|
}
|
|
529
553
|
}
|
|
@@ -535,24 +559,27 @@ export class AwsAuth extends Message<AwsAuth> {
|
|
|
535
559
|
/**
|
|
536
560
|
* @generated from oneof plugins.common.v1.AwsAuth.config
|
|
537
561
|
*/
|
|
538
|
-
config:
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
562
|
+
config:
|
|
563
|
+
| {
|
|
564
|
+
/**
|
|
565
|
+
* @generated from field: plugins.common.v1.AwsAuth.Static static = 1;
|
|
566
|
+
*/
|
|
567
|
+
value: AwsAuth_Static;
|
|
568
|
+
case: 'static';
|
|
569
|
+
}
|
|
570
|
+
| {
|
|
571
|
+
/**
|
|
572
|
+
* @generated from field: plugins.common.v1.AwsAuth.AssumeRole assume_role = 2;
|
|
573
|
+
*/
|
|
574
|
+
value: AwsAuth_AssumeRole;
|
|
575
|
+
case: 'assumeRole';
|
|
576
|
+
}
|
|
577
|
+
| { case: undefined; value?: undefined } = { case: undefined };
|
|
551
578
|
|
|
552
579
|
/**
|
|
553
580
|
* @generated from field: string region = 3;
|
|
554
581
|
*/
|
|
555
|
-
region =
|
|
582
|
+
region = '';
|
|
556
583
|
|
|
557
584
|
constructor(data?: PartialMessage<AwsAuth>) {
|
|
558
585
|
super();
|
|
@@ -560,11 +587,11 @@ export class AwsAuth extends Message<AwsAuth> {
|
|
|
560
587
|
}
|
|
561
588
|
|
|
562
589
|
static readonly runtime: typeof proto3 = proto3;
|
|
563
|
-
static readonly typeName =
|
|
590
|
+
static readonly typeName = 'plugins.common.v1.AwsAuth';
|
|
564
591
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
565
|
-
{ no: 1, name:
|
|
566
|
-
{ no: 2, name:
|
|
567
|
-
{ no: 3, name:
|
|
592
|
+
{ no: 1, name: 'static', kind: 'message', T: AwsAuth_Static, oneof: 'config' },
|
|
593
|
+
{ no: 2, name: 'assume_role', kind: 'message', T: AwsAuth_AssumeRole, oneof: 'config' },
|
|
594
|
+
{ no: 3, name: 'region', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
|
|
568
595
|
]);
|
|
569
596
|
|
|
570
597
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AwsAuth {
|
|
@@ -591,12 +618,12 @@ export class AwsAuth_Static extends Message<AwsAuth_Static> {
|
|
|
591
618
|
/**
|
|
592
619
|
* @generated from field: string access_key_id = 1;
|
|
593
620
|
*/
|
|
594
|
-
accessKeyId =
|
|
621
|
+
accessKeyId = '';
|
|
595
622
|
|
|
596
623
|
/**
|
|
597
624
|
* @generated from field: string secret_access_key = 2;
|
|
598
625
|
*/
|
|
599
|
-
secretAccessKey =
|
|
626
|
+
secretAccessKey = '';
|
|
600
627
|
|
|
601
628
|
constructor(data?: PartialMessage<AwsAuth_Static>) {
|
|
602
629
|
super();
|
|
@@ -604,10 +631,10 @@ export class AwsAuth_Static extends Message<AwsAuth_Static> {
|
|
|
604
631
|
}
|
|
605
632
|
|
|
606
633
|
static readonly runtime: typeof proto3 = proto3;
|
|
607
|
-
static readonly typeName =
|
|
634
|
+
static readonly typeName = 'plugins.common.v1.AwsAuth.Static';
|
|
608
635
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
609
|
-
{ no: 1, name:
|
|
610
|
-
{ no: 2, name:
|
|
636
|
+
{ no: 1, name: 'access_key_id', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
637
|
+
{ no: 2, name: 'secret_access_key', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
|
|
611
638
|
]);
|
|
612
639
|
|
|
613
640
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AwsAuth_Static {
|
|
@@ -622,7 +649,10 @@ export class AwsAuth_Static extends Message<AwsAuth_Static> {
|
|
|
622
649
|
return new AwsAuth_Static().fromJsonString(jsonString, options);
|
|
623
650
|
}
|
|
624
651
|
|
|
625
|
-
static equals(
|
|
652
|
+
static equals(
|
|
653
|
+
a: AwsAuth_Static | PlainMessage<AwsAuth_Static> | undefined,
|
|
654
|
+
b: AwsAuth_Static | PlainMessage<AwsAuth_Static> | undefined
|
|
655
|
+
): boolean {
|
|
626
656
|
return proto3.util.equals(AwsAuth_Static, a, b);
|
|
627
657
|
}
|
|
628
658
|
}
|
|
@@ -634,7 +664,7 @@ export class AwsAuth_AssumeRole extends Message<AwsAuth_AssumeRole> {
|
|
|
634
664
|
/**
|
|
635
665
|
* @generated from field: string role_arn = 3;
|
|
636
666
|
*/
|
|
637
|
-
roleArn =
|
|
667
|
+
roleArn = '';
|
|
638
668
|
|
|
639
669
|
constructor(data?: PartialMessage<AwsAuth_AssumeRole>) {
|
|
640
670
|
super();
|
|
@@ -642,9 +672,9 @@ export class AwsAuth_AssumeRole extends Message<AwsAuth_AssumeRole> {
|
|
|
642
672
|
}
|
|
643
673
|
|
|
644
674
|
static readonly runtime: typeof proto3 = proto3;
|
|
645
|
-
static readonly typeName =
|
|
675
|
+
static readonly typeName = 'plugins.common.v1.AwsAuth.AssumeRole';
|
|
646
676
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
647
|
-
{ no: 3, name:
|
|
677
|
+
{ no: 3, name: 'role_arn', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
|
|
648
678
|
]);
|
|
649
679
|
|
|
650
680
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AwsAuth_AssumeRole {
|
|
@@ -659,7 +689,10 @@ export class AwsAuth_AssumeRole extends Message<AwsAuth_AssumeRole> {
|
|
|
659
689
|
return new AwsAuth_AssumeRole().fromJsonString(jsonString, options);
|
|
660
690
|
}
|
|
661
691
|
|
|
662
|
-
static equals(
|
|
692
|
+
static equals(
|
|
693
|
+
a: AwsAuth_AssumeRole | PlainMessage<AwsAuth_AssumeRole> | undefined,
|
|
694
|
+
b: AwsAuth_AssumeRole | PlainMessage<AwsAuth_AssumeRole> | undefined
|
|
695
|
+
): boolean {
|
|
663
696
|
return proto3.util.equals(AwsAuth_AssumeRole, a, b);
|
|
664
697
|
}
|
|
665
698
|
}
|
|
@@ -671,13 +704,15 @@ export class GcpAuth extends Message<GcpAuth> {
|
|
|
671
704
|
/**
|
|
672
705
|
* @generated from oneof plugins.common.v1.GcpAuth.config
|
|
673
706
|
*/
|
|
674
|
-
config:
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
707
|
+
config:
|
|
708
|
+
| {
|
|
709
|
+
/**
|
|
710
|
+
* @generated from field: bytes service_account = 1;
|
|
711
|
+
*/
|
|
712
|
+
value: Uint8Array;
|
|
713
|
+
case: 'serviceAccount';
|
|
714
|
+
}
|
|
715
|
+
| { case: undefined; value?: undefined } = { case: undefined };
|
|
681
716
|
|
|
682
717
|
constructor(data?: PartialMessage<GcpAuth>) {
|
|
683
718
|
super();
|
|
@@ -685,9 +720,9 @@ export class GcpAuth extends Message<GcpAuth> {
|
|
|
685
720
|
}
|
|
686
721
|
|
|
687
722
|
static readonly runtime: typeof proto3 = proto3;
|
|
688
|
-
static readonly typeName =
|
|
723
|
+
static readonly typeName = 'plugins.common.v1.GcpAuth';
|
|
689
724
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
690
|
-
{ no: 1, name:
|
|
725
|
+
{ no: 1, name: 'service_account', kind: 'scalar', T: 12 /* ScalarType.BYTES */, oneof: 'config' }
|
|
691
726
|
]);
|
|
692
727
|
|
|
693
728
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GcpAuth {
|
|
@@ -714,19 +749,22 @@ export class AkeylessAuth extends Message<AkeylessAuth> {
|
|
|
714
749
|
/**
|
|
715
750
|
* @generated from oneof plugins.common.v1.AkeylessAuth.config
|
|
716
751
|
*/
|
|
717
|
-
config:
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
752
|
+
config:
|
|
753
|
+
| {
|
|
754
|
+
/**
|
|
755
|
+
* @generated from field: plugins.common.v1.AkeylessAuth.ApiKey api_key = 1;
|
|
756
|
+
*/
|
|
757
|
+
value: AkeylessAuth_ApiKey;
|
|
758
|
+
case: 'apiKey';
|
|
759
|
+
}
|
|
760
|
+
| {
|
|
761
|
+
/**
|
|
762
|
+
* @generated from field: plugins.common.v1.AkeylessAuth.Email email = 2;
|
|
763
|
+
*/
|
|
764
|
+
value: AkeylessAuth_Email;
|
|
765
|
+
case: 'email';
|
|
766
|
+
}
|
|
767
|
+
| { case: undefined; value?: undefined } = { case: undefined };
|
|
730
768
|
|
|
731
769
|
constructor(data?: PartialMessage<AkeylessAuth>) {
|
|
732
770
|
super();
|
|
@@ -734,10 +772,10 @@ export class AkeylessAuth extends Message<AkeylessAuth> {
|
|
|
734
772
|
}
|
|
735
773
|
|
|
736
774
|
static readonly runtime: typeof proto3 = proto3;
|
|
737
|
-
static readonly typeName =
|
|
775
|
+
static readonly typeName = 'plugins.common.v1.AkeylessAuth';
|
|
738
776
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
739
|
-
{ no: 1, name:
|
|
740
|
-
{ no: 2, name:
|
|
777
|
+
{ no: 1, name: 'api_key', kind: 'message', T: AkeylessAuth_ApiKey, oneof: 'config' },
|
|
778
|
+
{ no: 2, name: 'email', kind: 'message', T: AkeylessAuth_Email, oneof: 'config' }
|
|
741
779
|
]);
|
|
742
780
|
|
|
743
781
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AkeylessAuth {
|
|
@@ -752,7 +790,10 @@ export class AkeylessAuth extends Message<AkeylessAuth> {
|
|
|
752
790
|
return new AkeylessAuth().fromJsonString(jsonString, options);
|
|
753
791
|
}
|
|
754
792
|
|
|
755
|
-
static equals(
|
|
793
|
+
static equals(
|
|
794
|
+
a: AkeylessAuth | PlainMessage<AkeylessAuth> | undefined,
|
|
795
|
+
b: AkeylessAuth | PlainMessage<AkeylessAuth> | undefined
|
|
796
|
+
): boolean {
|
|
756
797
|
return proto3.util.equals(AkeylessAuth, a, b);
|
|
757
798
|
}
|
|
758
799
|
}
|
|
@@ -764,12 +805,12 @@ export class AkeylessAuth_ApiKey extends Message<AkeylessAuth_ApiKey> {
|
|
|
764
805
|
/**
|
|
765
806
|
* @generated from field: string access_id = 1;
|
|
766
807
|
*/
|
|
767
|
-
accessId =
|
|
808
|
+
accessId = '';
|
|
768
809
|
|
|
769
810
|
/**
|
|
770
811
|
* @generated from field: string access_key = 2;
|
|
771
812
|
*/
|
|
772
|
-
accessKey =
|
|
813
|
+
accessKey = '';
|
|
773
814
|
|
|
774
815
|
constructor(data?: PartialMessage<AkeylessAuth_ApiKey>) {
|
|
775
816
|
super();
|
|
@@ -777,10 +818,10 @@ export class AkeylessAuth_ApiKey extends Message<AkeylessAuth_ApiKey> {
|
|
|
777
818
|
}
|
|
778
819
|
|
|
779
820
|
static readonly runtime: typeof proto3 = proto3;
|
|
780
|
-
static readonly typeName =
|
|
821
|
+
static readonly typeName = 'plugins.common.v1.AkeylessAuth.ApiKey';
|
|
781
822
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
782
|
-
{ no: 1, name:
|
|
783
|
-
{ no: 2, name:
|
|
823
|
+
{ no: 1, name: 'access_id', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
824
|
+
{ no: 2, name: 'access_key', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
|
|
784
825
|
]);
|
|
785
826
|
|
|
786
827
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AkeylessAuth_ApiKey {
|
|
@@ -795,7 +836,10 @@ export class AkeylessAuth_ApiKey extends Message<AkeylessAuth_ApiKey> {
|
|
|
795
836
|
return new AkeylessAuth_ApiKey().fromJsonString(jsonString, options);
|
|
796
837
|
}
|
|
797
838
|
|
|
798
|
-
static equals(
|
|
839
|
+
static equals(
|
|
840
|
+
a: AkeylessAuth_ApiKey | PlainMessage<AkeylessAuth_ApiKey> | undefined,
|
|
841
|
+
b: AkeylessAuth_ApiKey | PlainMessage<AkeylessAuth_ApiKey> | undefined
|
|
842
|
+
): boolean {
|
|
799
843
|
return proto3.util.equals(AkeylessAuth_ApiKey, a, b);
|
|
800
844
|
}
|
|
801
845
|
}
|
|
@@ -807,12 +851,12 @@ export class AkeylessAuth_Email extends Message<AkeylessAuth_Email> {
|
|
|
807
851
|
/**
|
|
808
852
|
* @generated from field: string email = 1;
|
|
809
853
|
*/
|
|
810
|
-
email =
|
|
854
|
+
email = '';
|
|
811
855
|
|
|
812
856
|
/**
|
|
813
857
|
* @generated from field: string password = 2;
|
|
814
858
|
*/
|
|
815
|
-
password =
|
|
859
|
+
password = '';
|
|
816
860
|
|
|
817
861
|
constructor(data?: PartialMessage<AkeylessAuth_Email>) {
|
|
818
862
|
super();
|
|
@@ -820,10 +864,10 @@ export class AkeylessAuth_Email extends Message<AkeylessAuth_Email> {
|
|
|
820
864
|
}
|
|
821
865
|
|
|
822
866
|
static readonly runtime: typeof proto3 = proto3;
|
|
823
|
-
static readonly typeName =
|
|
867
|
+
static readonly typeName = 'plugins.common.v1.AkeylessAuth.Email';
|
|
824
868
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
825
|
-
{ no: 1, name:
|
|
826
|
-
{ no: 2, name:
|
|
869
|
+
{ no: 1, name: 'email', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
870
|
+
{ no: 2, name: 'password', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
|
|
827
871
|
]);
|
|
828
872
|
|
|
829
873
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AkeylessAuth_Email {
|
|
@@ -838,7 +882,10 @@ export class AkeylessAuth_Email extends Message<AkeylessAuth_Email> {
|
|
|
838
882
|
return new AkeylessAuth_Email().fromJsonString(jsonString, options);
|
|
839
883
|
}
|
|
840
884
|
|
|
841
|
-
static equals(
|
|
885
|
+
static equals(
|
|
886
|
+
a: AkeylessAuth_Email | PlainMessage<AkeylessAuth_Email> | undefined,
|
|
887
|
+
b: AkeylessAuth_Email | PlainMessage<AkeylessAuth_Email> | undefined
|
|
888
|
+
): boolean {
|
|
842
889
|
return proto3.util.equals(AkeylessAuth_Email, a, b);
|
|
843
890
|
}
|
|
844
891
|
}
|
|
@@ -850,39 +897,57 @@ export class Auth extends Message<Auth> {
|
|
|
850
897
|
/**
|
|
851
898
|
* @generated from oneof plugins.common.v1.Auth.method
|
|
852
899
|
*/
|
|
853
|
-
method:
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
900
|
+
method:
|
|
901
|
+
| {
|
|
902
|
+
/**
|
|
903
|
+
* @generated from field: plugins.common.v1.OAuth.PasswordGrantFlow password_grant_flow = 1;
|
|
904
|
+
*/
|
|
905
|
+
value: OAuth_PasswordGrantFlow;
|
|
906
|
+
case: 'passwordGrantFlow';
|
|
907
|
+
}
|
|
908
|
+
| {
|
|
909
|
+
/**
|
|
910
|
+
* @generated from field: plugins.common.v1.OAuth.AuthorizationCodeFlow authorization_code_flow = 2;
|
|
911
|
+
*/
|
|
912
|
+
value: OAuth_AuthorizationCodeFlow;
|
|
913
|
+
case: 'authorizationCodeFlow';
|
|
914
|
+
}
|
|
915
|
+
| {
|
|
916
|
+
/**
|
|
917
|
+
* @generated from field: plugins.common.v1.Basic basic = 3;
|
|
918
|
+
*/
|
|
919
|
+
value: Basic;
|
|
920
|
+
case: 'basic';
|
|
921
|
+
}
|
|
922
|
+
| {
|
|
923
|
+
/**
|
|
924
|
+
* @generated from field: plugins.common.v1.OAuth.ClientCredentialsFlow client_credentials_flow = 4;
|
|
925
|
+
*/
|
|
926
|
+
value: OAuth_ClientCredentialsFlow;
|
|
927
|
+
case: 'clientCredentialsFlow';
|
|
928
|
+
}
|
|
929
|
+
| {
|
|
930
|
+
/**
|
|
931
|
+
* todo: remove me when cosmos updates
|
|
932
|
+
*
|
|
933
|
+
* @generated from field: plugins.common.v1.Azure.Key key = 5;
|
|
934
|
+
*/
|
|
935
|
+
value: Azure_Key;
|
|
936
|
+
case: 'key';
|
|
937
|
+
}
|
|
938
|
+
| {
|
|
939
|
+
/**
|
|
940
|
+
* NOTE: @joeyagreco - look. don't try to make this type work here
|
|
941
|
+
* NOTE: @joeyagreco - just use this type in typescript: AuthenticatedDatasourceConfig instead
|
|
942
|
+
* NOTE: @joeyagreco - it already works and i really don't wanna maintain this super complex type in multiple places
|
|
943
|
+
* NOTE: @joeyagreco - so the expectation here is that there is NOTHING inside this oneof value, we just switch on the case
|
|
944
|
+
*
|
|
945
|
+
* @generated from field: plugins.common.v1.Auth.Nothing oauth_token_exchange = 6 [json_name = "oauth-token-exchange"];
|
|
946
|
+
*/
|
|
947
|
+
value: Auth_Nothing;
|
|
948
|
+
case: 'oauthTokenExchange';
|
|
949
|
+
}
|
|
950
|
+
| { case: undefined; value?: undefined } = { case: undefined };
|
|
886
951
|
|
|
887
952
|
constructor(data?: PartialMessage<Auth>) {
|
|
888
953
|
super();
|
|
@@ -890,13 +955,14 @@ export class Auth extends Message<Auth> {
|
|
|
890
955
|
}
|
|
891
956
|
|
|
892
957
|
static readonly runtime: typeof proto3 = proto3;
|
|
893
|
-
static readonly typeName =
|
|
958
|
+
static readonly typeName = 'plugins.common.v1.Auth';
|
|
894
959
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
895
|
-
{ no: 1, name:
|
|
896
|
-
{ no: 2, name:
|
|
897
|
-
{ no: 3, name:
|
|
898
|
-
{ no: 4, name:
|
|
899
|
-
{ no: 5, name:
|
|
960
|
+
{ no: 1, name: 'password_grant_flow', kind: 'message', T: OAuth_PasswordGrantFlow, oneof: 'method' },
|
|
961
|
+
{ no: 2, name: 'authorization_code_flow', kind: 'message', T: OAuth_AuthorizationCodeFlow, oneof: 'method' },
|
|
962
|
+
{ no: 3, name: 'basic', kind: 'message', T: Basic, oneof: 'method' },
|
|
963
|
+
{ no: 4, name: 'client_credentials_flow', kind: 'message', T: OAuth_ClientCredentialsFlow, oneof: 'method' },
|
|
964
|
+
{ no: 5, name: 'key', kind: 'message', T: Azure_Key, oneof: 'method' },
|
|
965
|
+
{ no: 6, name: 'oauth_token_exchange', jsonName: 'oauth-token-exchange', kind: 'message', T: Auth_Nothing, oneof: 'method' }
|
|
900
966
|
]);
|
|
901
967
|
|
|
902
968
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Auth {
|
|
@@ -916,3 +982,35 @@ export class Auth extends Message<Auth> {
|
|
|
916
982
|
}
|
|
917
983
|
}
|
|
918
984
|
|
|
985
|
+
/**
|
|
986
|
+
* @generated from message plugins.common.v1.Auth.Nothing
|
|
987
|
+
*/
|
|
988
|
+
export class Auth_Nothing extends Message<Auth_Nothing> {
|
|
989
|
+
constructor(data?: PartialMessage<Auth_Nothing>) {
|
|
990
|
+
super();
|
|
991
|
+
proto3.util.initPartial(data, this);
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
995
|
+
static readonly typeName = 'plugins.common.v1.Auth.Nothing';
|
|
996
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => []);
|
|
997
|
+
|
|
998
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Auth_Nothing {
|
|
999
|
+
return new Auth_Nothing().fromBinary(bytes, options);
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Auth_Nothing {
|
|
1003
|
+
return new Auth_Nothing().fromJson(jsonValue, options);
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Auth_Nothing {
|
|
1007
|
+
return new Auth_Nothing().fromJsonString(jsonString, options);
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
static equals(
|
|
1011
|
+
a: Auth_Nothing | PlainMessage<Auth_Nothing> | undefined,
|
|
1012
|
+
b: Auth_Nothing | PlainMessage<Auth_Nothing> | undefined
|
|
1013
|
+
): boolean {
|
|
1014
|
+
return proto3.util.equals(Auth_Nothing, a, b);
|
|
1015
|
+
}
|
|
1016
|
+
}
|