auth3_sdk 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: e1e11b60839b32349d1df5b8b589e3f649bf08a7ed1fbcbb4b6988ca80a9d54d
4
+ data.tar.gz: b8f1b7c5b9b8e227d75dc4ddd4609e476a395dbe629c99d1515b3111dce3f72a
5
+ SHA512:
6
+ metadata.gz: 9af7dd98ab78254ceaef40fc76352f03db44a176f431af7784030bea0ea1cd1c7cb324223dfd75e2d0fbb20768e024a3912f0dbdfd5f7b5f4d1b283d90b88a22
7
+ data.tar.gz: 2fae35bbc0cf9f938516ba0d4bb3f7a9a70fd477887a30057fc4b9686162ee4eed9d5011bf3d3188792f8d7b45bfb6fe74b608cf400892260573a75e82a693c1
@@ -0,0 +1,2 @@
1
+ require_relative 'admin_pb'
2
+ require_relative 'admin_services_pb'
@@ -0,0 +1,801 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: devtools/auth/v0/proto/identity/admin/admin.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/protobuf/timestamp_pb'
7
+ require 'google/protobuf/struct_pb'
8
+ Google::Protobuf::DescriptorPool.generated_pool.build do
9
+ add_file("devtools/auth/v0/proto/identity/admin/admin.proto", :syntax => :proto3) do
10
+ add_message "depot.devtools.auth.v0.identity.admin.CreateIdentityRequest" do
11
+ optional :data, :message, 1, "google.protobuf.Struct"
12
+ optional :connection_id, :string, 2
13
+ optional :schema_id, :string, 3
14
+ end
15
+ add_message "depot.devtools.auth.v0.identity.admin.CreateIdentityResponse" do
16
+ optional :identity_id, :string, 1
17
+ end
18
+ add_message "depot.devtools.auth.v0.identity.admin.GetIdentitiesRequest" do
19
+ end
20
+ add_message "depot.devtools.auth.v0.identity.admin.GetIdentitiesResponse" do
21
+ repeated :identities, :message, 1, "depot.devtools.auth.v0.identity.admin.GetIdentitiesResponse.Identity"
22
+ end
23
+ add_message "depot.devtools.auth.v0.identity.admin.GetIdentitiesResponse.Identity" do
24
+ optional :identity_id, :string, 1
25
+ optional :created_at, :message, 2, "google.protobuf.Timestamp"
26
+ optional :updated_at, :message, 3, "google.protobuf.Timestamp"
27
+ optional :main_identifier, :string, 4
28
+ optional :schema_id, :string, 5
29
+ optional :lock, :enum, 6, "depot.devtools.auth.v0.identity.admin.GetIdentitiesResponse.Lock"
30
+ end
31
+ add_enum "depot.devtools.auth.v0.identity.admin.GetIdentitiesResponse.Lock" do
32
+ value :UNLOCKED, 0
33
+ value :ADMIN_LOCKED, 1
34
+ end
35
+ add_message "depot.devtools.auth.v0.identity.admin.GetIdentityRequest" do
36
+ optional :identity_id, :string, 2
37
+ end
38
+ add_message "depot.devtools.auth.v0.identity.admin.GetIdentityResponse" do
39
+ optional :identity_id, :string, 1
40
+ optional :created_at, :message, 2, "google.protobuf.Timestamp"
41
+ optional :updated_at, :message, 3, "google.protobuf.Timestamp"
42
+ optional :main_identifier, :string, 4
43
+ optional :traits_id, :string, 5
44
+ repeated :addresses_ids, :string, 6
45
+ map :credentials_ids, :string, :string, 7
46
+ optional :schema_id, :string, 8
47
+ optional :lock, :enum, 9, "depot.devtools.auth.v0.identity.admin.GetIdentityResponse.Lock"
48
+ end
49
+ add_enum "depot.devtools.auth.v0.identity.admin.GetIdentityResponse.Lock" do
50
+ value :UNLOCKED, 0
51
+ value :ADMIN_LOCKED, 1
52
+ end
53
+ add_message "depot.devtools.auth.v0.identity.admin.GetIdentitiesByAttributeRequest" do
54
+ optional :attribute, :string, 1
55
+ optional :value, :string, 2
56
+ end
57
+ add_message "depot.devtools.auth.v0.identity.admin.GetIdentitiesByAttributeResponse" do
58
+ repeated :identities, :message, 1, "depot.devtools.auth.v0.identity.admin.GetIdentitiesByAttributeResponse.Identity"
59
+ end
60
+ add_message "depot.devtools.auth.v0.identity.admin.GetIdentitiesByAttributeResponse.Identity" do
61
+ optional :identity_id, :string, 1
62
+ optional :created_at, :message, 2, "google.protobuf.Timestamp"
63
+ optional :updated_at, :message, 3, "google.protobuf.Timestamp"
64
+ optional :main_identifier, :string, 4
65
+ optional :traits_id, :string, 5
66
+ repeated :addresses_ids, :string, 6
67
+ map :credentials_ids, :string, :string, 7
68
+ optional :schema_id, :string, 8
69
+ optional :lock, :enum, 9, "depot.devtools.auth.v0.identity.admin.GetIdentitiesByAttributeResponse.Identity.Lock"
70
+ end
71
+ add_enum "depot.devtools.auth.v0.identity.admin.GetIdentitiesByAttributeResponse.Identity.Lock" do
72
+ value :UNLOCKED, 0
73
+ value :ADMIN_LOCKED, 1
74
+ end
75
+ add_message "depot.devtools.auth.v0.identity.admin.UpdateIdentityRequest" do
76
+ optional :identity_id, :string, 1
77
+ optional :lock, :enum, 2, "depot.devtools.auth.v0.identity.admin.UpdateIdentityRequest.Lock"
78
+ end
79
+ add_enum "depot.devtools.auth.v0.identity.admin.UpdateIdentityRequest.Lock" do
80
+ value :UNLOCKED, 0
81
+ value :ADMIN_LOCKED, 1
82
+ end
83
+ add_message "depot.devtools.auth.v0.identity.admin.UpdateIdentityResponse" do
84
+ end
85
+ add_message "depot.devtools.auth.v0.identity.admin.DeleteIdentityRequest" do
86
+ optional :identity_id, :string, 1
87
+ end
88
+ add_message "depot.devtools.auth.v0.identity.admin.DeleteIdentityResponse" do
89
+ end
90
+ add_message "depot.devtools.auth.v0.identity.admin.GetCredentialsRequest" do
91
+ optional :identity_id, :string, 1
92
+ end
93
+ add_message "depot.devtools.auth.v0.identity.admin.GetCredentialsResponse" do
94
+ map :credentials, :string, :message, 1, "depot.devtools.auth.v0.identity.admin.GetCredentialsResponse.Credential"
95
+ end
96
+ add_message "depot.devtools.auth.v0.identity.admin.GetCredentialsResponse.Credential" do
97
+ optional :credential_id, :string, 1
98
+ optional :created_at, :message, 2, "google.protobuf.Timestamp"
99
+ optional :updated_at, :message, 3, "google.protobuf.Timestamp"
100
+ optional :identity_id, :string, 4
101
+ optional :type, :int32, 5
102
+ optional :name, :string, 6
103
+ optional :configured, :bool, 7
104
+ end
105
+ add_message "depot.devtools.auth.v0.identity.admin.UpdateCredentialRequest" do
106
+ optional :data, :message, 1, "google.protobuf.Struct"
107
+ optional :connection_id, :string, 2
108
+ optional :identity_id, :string, 3
109
+ end
110
+ add_message "depot.devtools.auth.v0.identity.admin.UpdateCredentialResponse" do
111
+ end
112
+ add_message "depot.devtools.auth.v0.identity.admin.CreateConnectionRequest" do
113
+ optional :name, :string, 1
114
+ optional :client_id, :string, 2
115
+ optional :client_secret, :string, 3
116
+ optional :button_image_url, :string, 4
117
+ optional :provider, :enum, 6, "depot.devtools.auth.v0.identity.admin.CreateConnectionRequest.Providers"
118
+ optional :oidc_discovery_url, :string, 7
119
+ repeated :mfa, :string, 8
120
+ optional :type, :enum, 9, "depot.devtools.auth.v0.identity.admin.CreateConnectionRequest.Types"
121
+ optional :scopes, :string, 10
122
+ end
123
+ add_enum "depot.devtools.auth.v0.identity.admin.CreateConnectionRequest.Providers" do
124
+ value :NONE, 0
125
+ value :OPENID, 1
126
+ value :AMAZON, 2
127
+ value :BITBUCKET, 3
128
+ value :BOX, 4
129
+ value :DAILYMOTION, 5
130
+ value :DEEZER, 6
131
+ value :DIGITALOCEAN, 7
132
+ value :DISCORD, 8
133
+ value :DROPBOX, 9
134
+ value :EVEONLINE, 10
135
+ value :FACEBOOK, 11
136
+ value :FITBIT, 12
137
+ value :GITEA, 13
138
+ value :GITHUB, 14
139
+ value :GITLAB, 15
140
+ value :GOOGLE, 16
141
+ value :SHOPIFY, 18
142
+ value :SOUNDCLOUD, 19
143
+ value :SPOTIFY, 20
144
+ value :STEAM, 21
145
+ value :STRIPE, 22
146
+ value :TWITCH, 23
147
+ value :UBER, 24
148
+ value :WEPAY, 25
149
+ value :YAHOO, 26
150
+ value :YAMMER, 27
151
+ value :HEROKU, 28
152
+ value :INSTAGRAM, 29
153
+ value :INTERCOM, 30
154
+ value :KAKAO, 31
155
+ value :LASTFM, 32
156
+ value :LINKEDIN, 33
157
+ value :LINE, 34
158
+ value :ONEDRIVE, 35
159
+ value :AZUREAD, 36
160
+ value :MICROSOFTONLINE, 37
161
+ value :BATTLENET, 38
162
+ value :PAYPAL, 39
163
+ value :TWITTER, 40
164
+ value :SALESFORCE, 41
165
+ value :TYPETALK, 42
166
+ value :SLACK, 43
167
+ value :MEETUP, 44
168
+ value :XERO, 46
169
+ value :VK, 47
170
+ value :NAVER, 48
171
+ value :YANDEX, 49
172
+ value :NEXTCLOUD, 50
173
+ value :APPLE, 52
174
+ value :STRAVA, 53
175
+ end
176
+ add_enum "depot.devtools.auth.v0.identity.admin.CreateConnectionRequest.Types" do
177
+ value :UNSET, 0
178
+ value :PASSWORD, 1
179
+ value :OTP, 2
180
+ value :TOTP, 3
181
+ value :OIDC, 4
182
+ end
183
+ add_message "depot.devtools.auth.v0.identity.admin.CreateConnectionResponse" do
184
+ optional :name, :string, 1
185
+ end
186
+ add_message "depot.devtools.auth.v0.identity.admin.GetConnectionsRequest" do
187
+ end
188
+ add_message "depot.devtools.auth.v0.identity.admin.GetConnectionsResponse" do
189
+ repeated :connections, :message, 1, "depot.devtools.auth.v0.identity.admin.GetConnectionsResponse.Connection"
190
+ end
191
+ add_message "depot.devtools.auth.v0.identity.admin.GetConnectionsResponse.Connection" do
192
+ optional :name, :string, 1
193
+ optional :client_id, :string, 2
194
+ optional :client_secret, :string, 3
195
+ optional :button_image_url, :string, 4
196
+ optional :provider, :enum, 6, "depot.devtools.auth.v0.identity.admin.GetConnectionsResponse.Providers"
197
+ optional :oidc_discovery_url, :string, 7
198
+ repeated :mfa, :string, 8
199
+ optional :type, :enum, 9, "depot.devtools.auth.v0.identity.admin.GetConnectionsResponse.Types"
200
+ optional :id, :string, 10
201
+ optional :scopes, :string, 11
202
+ optional :purpose, :enum, 12, "depot.devtools.auth.v0.identity.admin.GetConnectionsResponse.Purposes"
203
+ end
204
+ add_enum "depot.devtools.auth.v0.identity.admin.GetConnectionsResponse.Providers" do
205
+ value :NONE, 0
206
+ value :OPENID, 1
207
+ value :AMAZON, 2
208
+ value :BITBUCKET, 3
209
+ value :BOX, 4
210
+ value :DAILYMOTION, 5
211
+ value :DEEZER, 6
212
+ value :DIGITALOCEAN, 7
213
+ value :DISCORD, 8
214
+ value :DROPBOX, 9
215
+ value :EVEONLINE, 10
216
+ value :FACEBOOK, 11
217
+ value :FITBIT, 12
218
+ value :GITEA, 13
219
+ value :GITHUB, 14
220
+ value :GITLAB, 15
221
+ value :GOOGLE, 16
222
+ value :SHOPIFY, 18
223
+ value :SOUNDCLOUD, 19
224
+ value :SPOTIFY, 20
225
+ value :STEAM, 21
226
+ value :STRIPE, 22
227
+ value :TWITCH, 23
228
+ value :UBER, 24
229
+ value :WEPAY, 25
230
+ value :YAHOO, 26
231
+ value :YAMMER, 27
232
+ value :HEROKU, 28
233
+ value :INSTAGRAM, 29
234
+ value :INTERCOM, 30
235
+ value :KAKAO, 31
236
+ value :LASTFM, 32
237
+ value :LINKEDIN, 33
238
+ value :LINE, 34
239
+ value :ONEDRIVE, 35
240
+ value :AZUREAD, 36
241
+ value :MICROSOFTONLINE, 37
242
+ value :BATTLENET, 38
243
+ value :PAYPAL, 39
244
+ value :TWITTER, 40
245
+ value :SALESFORCE, 41
246
+ value :TYPETALK, 42
247
+ value :SLACK, 43
248
+ value :MEETUP, 44
249
+ value :XERO, 46
250
+ value :VK, 47
251
+ value :NAVER, 48
252
+ value :YANDEX, 49
253
+ value :NEXTCLOUD, 50
254
+ value :APPLE, 52
255
+ value :STRAVA, 53
256
+ end
257
+ add_enum "depot.devtools.auth.v0.identity.admin.GetConnectionsResponse.Types" do
258
+ value :UNSET, 0
259
+ value :PASSWORD, 1
260
+ value :OTP, 2
261
+ value :TOTP, 3
262
+ value :OIDC, 4
263
+ end
264
+ add_enum "depot.devtools.auth.v0.identity.admin.GetConnectionsResponse.Purposes" do
265
+ value :PURPOSE_UNKNOWN, 0
266
+ value :PURPOSE_MAIN_FACTOR, 1
267
+ value :PURPOSE_SECOND_FACTOR, 2
268
+ end
269
+ add_message "depot.devtools.auth.v0.identity.admin.UpdateConnectionRequest" do
270
+ optional :name, :string, 1
271
+ optional :client_id, :string, 2
272
+ optional :client_secret, :string, 3
273
+ optional :button_image_url, :string, 4
274
+ optional :provider, :enum, 6, "depot.devtools.auth.v0.identity.admin.UpdateConnectionRequest.Providers"
275
+ optional :oidc_discovery_url, :string, 7
276
+ repeated :mfa, :string, 8
277
+ optional :type, :enum, 9, "depot.devtools.auth.v0.identity.admin.UpdateConnectionRequest.Types"
278
+ optional :id, :string, 10
279
+ optional :scopes, :string, 11
280
+ end
281
+ add_enum "depot.devtools.auth.v0.identity.admin.UpdateConnectionRequest.Providers" do
282
+ value :NONE, 0
283
+ value :OPENID, 1
284
+ value :AMAZON, 2
285
+ value :BITBUCKET, 3
286
+ value :BOX, 4
287
+ value :DAILYMOTION, 5
288
+ value :DEEZER, 6
289
+ value :DIGITALOCEAN, 7
290
+ value :DISCORD, 8
291
+ value :DROPBOX, 9
292
+ value :EVEONLINE, 10
293
+ value :FACEBOOK, 11
294
+ value :FITBIT, 12
295
+ value :GITEA, 13
296
+ value :GITHUB, 14
297
+ value :GITLAB, 15
298
+ value :GOOGLE, 16
299
+ value :SHOPIFY, 18
300
+ value :SOUNDCLOUD, 19
301
+ value :SPOTIFY, 20
302
+ value :STEAM, 21
303
+ value :STRIPE, 22
304
+ value :TWITCH, 23
305
+ value :UBER, 24
306
+ value :WEPAY, 25
307
+ value :YAHOO, 26
308
+ value :YAMMER, 27
309
+ value :HEROKU, 28
310
+ value :INSTAGRAM, 29
311
+ value :INTERCOM, 30
312
+ value :KAKAO, 31
313
+ value :LASTFM, 32
314
+ value :LINKEDIN, 33
315
+ value :LINE, 34
316
+ value :ONEDRIVE, 35
317
+ value :AZUREAD, 36
318
+ value :MICROSOFTONLINE, 37
319
+ value :BATTLENET, 38
320
+ value :PAYPAL, 39
321
+ value :TWITTER, 40
322
+ value :SALESFORCE, 41
323
+ value :TYPETALK, 42
324
+ value :SLACK, 43
325
+ value :MEETUP, 44
326
+ value :XERO, 46
327
+ value :VK, 47
328
+ value :NAVER, 48
329
+ value :YANDEX, 49
330
+ value :NEXTCLOUD, 50
331
+ value :APPLE, 52
332
+ value :STRAVA, 53
333
+ end
334
+ add_enum "depot.devtools.auth.v0.identity.admin.UpdateConnectionRequest.Types" do
335
+ value :UNSET, 0
336
+ value :PASSWORD, 1
337
+ value :OTP, 2
338
+ value :TOTP, 3
339
+ value :OIDC, 4
340
+ end
341
+ add_message "depot.devtools.auth.v0.identity.admin.UpdateConnectionResponse" do
342
+ end
343
+ add_message "depot.devtools.auth.v0.identity.admin.DeleteConnectionRequest" do
344
+ optional :id, :string, 1
345
+ end
346
+ add_message "depot.devtools.auth.v0.identity.admin.DeleteConnectionResponse" do
347
+ end
348
+ add_message "depot.devtools.auth.v0.identity.admin.GetOAuth2ClientsRequest" do
349
+ end
350
+ add_message "depot.devtools.auth.v0.identity.admin.GetOAuth2ClientsResponse" do
351
+ repeated :clients, :message, 1, "depot.devtools.auth.v0.identity.admin.GetOAuth2ClientsResponse.Client"
352
+ end
353
+ add_message "depot.devtools.auth.v0.identity.admin.GetOAuth2ClientsResponse.Client" do
354
+ repeated :allowed_cors_origins, :string, 1
355
+ repeated :audience, :string, 2
356
+ optional :backchannel_logout_session_required, :bool, 3
357
+ optional :backchannel_logout_uri, :string, 4
358
+ optional :client_id, :string, 5
359
+ optional :client_name, :string, 6
360
+ optional :client_secret_expires_at, :int64, 7
361
+ optional :client_uri, :string, 8
362
+ repeated :contacts, :string, 9
363
+ optional :created_at, :message, 10, "google.protobuf.Timestamp"
364
+ optional :frontchannel_logout_session_required, :bool, 11
365
+ optional :frontchannel_logout_uri, :string, 12
366
+ repeated :grant_types, :enum, 13, "depot.devtools.auth.v0.identity.admin.GrantType"
367
+ optional :jwks, :message, 14, "google.protobuf.Struct"
368
+ optional :jwks_uri, :string, 15
369
+ optional :logo_uri, :string, 16
370
+ optional :metadata, :message, 17, "google.protobuf.Struct"
371
+ optional :owner, :string, 18
372
+ optional :policy_uri, :string, 19
373
+ repeated :post_logout_redirect_uris, :string, 20
374
+ repeated :redirect_uris, :string, 21
375
+ optional :request_object_signing_alg, :enum, 22, "depot.devtools.auth.v0.identity.admin.RequestObjectSigningAlg"
376
+ repeated :request_uris, :string, 23
377
+ repeated :response_types, :enum, 24, "depot.devtools.auth.v0.identity.admin.ResponseType"
378
+ optional :scope, :string, 25
379
+ optional :sector_identifier_uri, :string, 26
380
+ optional :subject_type, :enum, 27, "depot.devtools.auth.v0.identity.admin.SubjectType"
381
+ optional :token_endpoint_auth_method, :enum, 28, "depot.devtools.auth.v0.identity.admin.TokenEndpointAuthMethod"
382
+ optional :token_endpoint_auth_signing_alg, :enum, 29, "depot.devtools.auth.v0.identity.admin.TokenEndpointAuthSigningAlg"
383
+ optional :tos_uri, :string, 30
384
+ optional :updated_at, :message, 31, "google.protobuf.Timestamp"
385
+ optional :userinfo_signed_response_alg, :enum, 32, "depot.devtools.auth.v0.identity.admin.UserinfoSignedResponseAlg"
386
+ optional :client_type, :enum, 33, "depot.devtools.auth.v0.identity.admin.ClientType"
387
+ end
388
+ add_message "depot.devtools.auth.v0.identity.admin.CreateOAuth2ClientRequest" do
389
+ repeated :allowed_cors_origins, :string, 1
390
+ repeated :audience, :string, 2
391
+ optional :backchannel_logout_session_required, :bool, 3
392
+ optional :backchannel_logout_uri, :string, 4
393
+ optional :client_name, :string, 6
394
+ optional :client_uri, :string, 8
395
+ repeated :contacts, :string, 9
396
+ optional :frontchannel_logout_session_required, :bool, 11
397
+ optional :frontchannel_logout_uri, :string, 12
398
+ repeated :grant_types, :enum, 13, "depot.devtools.auth.v0.identity.admin.GrantType"
399
+ optional :jwks, :message, 14, "google.protobuf.Struct"
400
+ optional :jwks_uri, :string, 15
401
+ optional :logo_uri, :string, 16
402
+ optional :metadata, :message, 17, "google.protobuf.Struct"
403
+ optional :owner, :string, 18
404
+ optional :policy_uri, :string, 19
405
+ repeated :post_logout_redirect_uris, :string, 20
406
+ repeated :redirect_uris, :string, 21
407
+ optional :request_object_signing_alg, :enum, 22, "depot.devtools.auth.v0.identity.admin.RequestObjectSigningAlg"
408
+ repeated :request_uris, :string, 23
409
+ repeated :response_types, :enum, 24, "depot.devtools.auth.v0.identity.admin.ResponseType"
410
+ optional :scope, :string, 25
411
+ optional :sector_identifier_uri, :string, 26
412
+ optional :subject_type, :enum, 27, "depot.devtools.auth.v0.identity.admin.SubjectType"
413
+ optional :token_endpoint_auth_method, :enum, 28, "depot.devtools.auth.v0.identity.admin.TokenEndpointAuthMethod"
414
+ optional :token_endpoint_auth_signing_alg, :enum, 29, "depot.devtools.auth.v0.identity.admin.TokenEndpointAuthSigningAlg"
415
+ optional :tos_uri, :string, 30
416
+ optional :userinfo_signed_response_alg, :enum, 31, "depot.devtools.auth.v0.identity.admin.UserinfoSignedResponseAlg"
417
+ optional :client_secret, :string, 32
418
+ optional :client_type, :enum, 33, "depot.devtools.auth.v0.identity.admin.ClientType"
419
+ end
420
+ add_message "depot.devtools.auth.v0.identity.admin.CreateOAuth2ClientResponse" do
421
+ optional :client_id, :string, 1
422
+ optional :client_secret, :string, 2
423
+ end
424
+ add_message "depot.devtools.auth.v0.identity.admin.UpdateOAuth2ClientRequest" do
425
+ repeated :allowed_cors_origins, :string, 1
426
+ repeated :audience, :string, 2
427
+ optional :backchannel_logout_session_required, :bool, 3
428
+ optional :backchannel_logout_uri, :string, 4
429
+ optional :client_name, :string, 6
430
+ optional :client_uri, :string, 8
431
+ repeated :contacts, :string, 9
432
+ optional :frontchannel_logout_session_required, :bool, 11
433
+ optional :frontchannel_logout_uri, :string, 12
434
+ repeated :grant_types, :enum, 13, "depot.devtools.auth.v0.identity.admin.GrantType"
435
+ optional :jwks, :message, 14, "google.protobuf.Struct"
436
+ optional :jwks_uri, :string, 15
437
+ optional :logo_uri, :string, 16
438
+ optional :metadata, :message, 17, "google.protobuf.Struct"
439
+ optional :owner, :string, 18
440
+ optional :policy_uri, :string, 19
441
+ repeated :post_logout_redirect_uris, :string, 20
442
+ repeated :redirect_uris, :string, 21
443
+ optional :request_object_signing_alg, :enum, 22, "depot.devtools.auth.v0.identity.admin.RequestObjectSigningAlg"
444
+ repeated :request_uris, :string, 23
445
+ repeated :response_types, :enum, 24, "depot.devtools.auth.v0.identity.admin.ResponseType"
446
+ optional :scope, :string, 25
447
+ optional :sector_identifier_uri, :string, 26
448
+ optional :subject_type, :enum, 27, "depot.devtools.auth.v0.identity.admin.SubjectType"
449
+ optional :token_endpoint_auth_method, :enum, 28, "depot.devtools.auth.v0.identity.admin.TokenEndpointAuthMethod"
450
+ optional :token_endpoint_auth_signing_alg, :enum, 29, "depot.devtools.auth.v0.identity.admin.TokenEndpointAuthSigningAlg"
451
+ optional :tos_uri, :string, 30
452
+ optional :userinfo_signed_response_alg, :enum, 31, "depot.devtools.auth.v0.identity.admin.UserinfoSignedResponseAlg"
453
+ optional :client_secret, :string, 32
454
+ optional :client_id, :string, 33
455
+ end
456
+ add_message "depot.devtools.auth.v0.identity.admin.UpdateOAuth2ClientResponse" do
457
+ optional :client_id, :string, 1
458
+ optional :client_secret, :string, 2
459
+ end
460
+ add_message "depot.devtools.auth.v0.identity.admin.DeleteOAuth2ClientRequest" do
461
+ optional :client_id, :string, 1
462
+ end
463
+ add_message "depot.devtools.auth.v0.identity.admin.DeleteOAuth2ClientResponse" do
464
+ end
465
+ add_message "depot.devtools.auth.v0.identity.admin.GetAddressesRequest" do
466
+ optional :identity_id, :string, 1
467
+ end
468
+ add_message "depot.devtools.auth.v0.identity.admin.GetAddressesResponse" do
469
+ repeated :addresses, :message, 1, "depot.devtools.auth.v0.identity.admin.GetAddressesResponse.Address"
470
+ end
471
+ add_message "depot.devtools.auth.v0.identity.admin.GetAddressesResponse.Address" do
472
+ optional :id, :string, 1
473
+ optional :identity_id, :string, 2
474
+ optional :name, :string, 3
475
+ optional :address, :string, 4
476
+ optional :verified, :bool, 5
477
+ optional :id_schema_key, :string, 6
478
+ end
479
+ add_message "depot.devtools.auth.v0.identity.admin.GetAddressRequest" do
480
+ oneof :match do
481
+ optional :id, :string, 1
482
+ optional :verification, :string, 2
483
+ end
484
+ end
485
+ add_message "depot.devtools.auth.v0.identity.admin.GetAddressResponse" do
486
+ optional :id, :string, 1
487
+ optional :identity_id, :string, 2
488
+ optional :name, :string, 3
489
+ optional :address, :string, 4
490
+ optional :verified, :bool, 5
491
+ optional :id_schema_key, :string, 6
492
+ end
493
+ add_message "depot.devtools.auth.v0.identity.admin.UpdateAddressRequest" do
494
+ optional :id, :string, 1
495
+ oneof :attribute do
496
+ optional :verified, :bool, 2
497
+ optional :address, :string, 3
498
+ end
499
+ end
500
+ add_message "depot.devtools.auth.v0.identity.admin.UpdateAddressResponse" do
501
+ end
502
+ add_message "depot.devtools.auth.v0.identity.admin.GetTraitsRequest" do
503
+ optional :identity_id, :string, 1
504
+ end
505
+ add_message "depot.devtools.auth.v0.identity.admin.GetTraitsResponse" do
506
+ optional :traits, :string, 1
507
+ end
508
+ add_message "depot.devtools.auth.v0.identity.admin.UpdateTraitsRequest" do
509
+ optional :identity_id, :string, 1
510
+ optional :traits, :string, 2
511
+ end
512
+ add_message "depot.devtools.auth.v0.identity.admin.UpdateTraitsResponse" do
513
+ end
514
+ add_message "depot.devtools.auth.v0.identity.admin.GetIdentityLoginAttemptsRequest" do
515
+ optional :identity_id, :string, 1
516
+ end
517
+ add_message "depot.devtools.auth.v0.identity.admin.GetIdentityLoginAttemptsResponse" do
518
+ repeated :attempts, :message, 1, "depot.devtools.auth.v0.identity.admin.GetIdentityLoginAttemptsResponse.Attempt"
519
+ end
520
+ add_message "depot.devtools.auth.v0.identity.admin.GetIdentityLoginAttemptsResponse.Attempt" do
521
+ optional :id, :string, 1
522
+ optional :identity_id, :string, 2
523
+ optional :status, :string, 3
524
+ repeated :authentication_methods, :string, 4
525
+ optional :created_at, :message, 5, "google.protobuf.Timestamp"
526
+ optional :expires_at, :message, 6, "google.protobuf.Timestamp"
527
+ end
528
+ add_message "depot.devtools.auth.v0.identity.admin.CreateIdSchemaRequest" do
529
+ optional :name, :string, 1
530
+ optional :content, :message, 2, "google.protobuf.Struct"
531
+ end
532
+ add_message "depot.devtools.auth.v0.identity.admin.CreateIdSchemaResponse" do
533
+ optional :id, :string, 2
534
+ end
535
+ add_message "depot.devtools.auth.v0.identity.admin.GetIdSchemasRequest" do
536
+ end
537
+ add_message "depot.devtools.auth.v0.identity.admin.GetIdSchemasResponse" do
538
+ repeated :jsonschemas, :message, 1, "depot.devtools.auth.v0.identity.admin.GetIdSchemasResponse.JsonSchema"
539
+ end
540
+ add_message "depot.devtools.auth.v0.identity.admin.GetIdSchemasResponse.JsonSchema" do
541
+ optional :id, :string, 1
542
+ optional :name, :string, 2
543
+ optional :content, :message, 3, "google.protobuf.Struct"
544
+ optional :created_at, :message, 4, "google.protobuf.Timestamp"
545
+ optional :updated_at, :message, 5, "google.protobuf.Timestamp"
546
+ optional :is_default, :bool, 6
547
+ end
548
+ add_message "depot.devtools.auth.v0.identity.admin.GetIdSchemaRequest" do
549
+ optional :id, :string, 1
550
+ end
551
+ add_message "depot.devtools.auth.v0.identity.admin.GetIdSchemaResponse" do
552
+ optional :id, :string, 1
553
+ optional :name, :string, 2
554
+ optional :content, :message, 3, "google.protobuf.Struct"
555
+ optional :created_at, :message, 4, "google.protobuf.Timestamp"
556
+ optional :updated_at, :message, 5, "google.protobuf.Timestamp"
557
+ optional :is_default, :bool, 6
558
+ end
559
+ add_message "depot.devtools.auth.v0.identity.admin.GetDefaultIdSchemaRequest" do
560
+ end
561
+ add_message "depot.devtools.auth.v0.identity.admin.GetDefaultIdSchemaResponse" do
562
+ optional :id, :string, 1
563
+ optional :name, :string, 2
564
+ optional :content, :message, 3, "google.protobuf.Struct"
565
+ optional :created_at, :message, 4, "google.protobuf.Timestamp"
566
+ optional :updated_at, :message, 5, "google.protobuf.Timestamp"
567
+ optional :is_default, :bool, 6
568
+ end
569
+ add_message "depot.devtools.auth.v0.identity.admin.UpdateIdSchemaRequest" do
570
+ optional :id, :string, 1
571
+ optional :name, :string, 2
572
+ optional :content, :message, 3, "google.protobuf.Struct"
573
+ end
574
+ add_message "depot.devtools.auth.v0.identity.admin.UpdateIdSchemaResponse" do
575
+ end
576
+ add_message "depot.devtools.auth.v0.identity.admin.MarkDefaultIdSchemaRequest" do
577
+ optional :id, :string, 1
578
+ end
579
+ add_message "depot.devtools.auth.v0.identity.admin.MarkDefaultIdSchemaResponse" do
580
+ end
581
+ add_message "depot.devtools.auth.v0.identity.admin.DeleteIdSchemaRequest" do
582
+ optional :id, :string, 1
583
+ end
584
+ add_message "depot.devtools.auth.v0.identity.admin.DeleteIdSchemaResponse" do
585
+ end
586
+ add_message "depot.devtools.auth.v0.identity.admin.GetEmailsSetupRequest" do
587
+ end
588
+ add_message "depot.devtools.auth.v0.identity.admin.GetEmailsSetupResponse" do
589
+ optional :welcome, :message, 1, "depot.devtools.auth.v0.identity.admin.GetEmailsSetupResponse.EmailTemplate"
590
+ optional :account_verification, :message, 2, "depot.devtools.auth.v0.identity.admin.GetEmailsSetupResponse.EmailTemplate"
591
+ optional :account_recovery, :message, 3, "depot.devtools.auth.v0.identity.admin.GetEmailsSetupResponse.EmailTemplate"
592
+ optional :account_recovered, :message, 4, "depot.devtools.auth.v0.identity.admin.GetEmailsSetupResponse.EmailTemplate"
593
+ optional :otp, :message, 5, "depot.devtools.auth.v0.identity.admin.GetEmailsSetupResponse.EmailTemplate"
594
+ optional :smtp, :message, 6, "depot.devtools.auth.v0.identity.admin.GetEmailsSetupResponse.EmailSender"
595
+ optional :project_id, :string, 7
596
+ end
597
+ add_message "depot.devtools.auth.v0.identity.admin.GetEmailsSetupResponse.EmailTemplate" do
598
+ optional :content, :string, 3
599
+ optional :subject, :string, 4
600
+ end
601
+ add_message "depot.devtools.auth.v0.identity.admin.GetEmailsSetupResponse.EmailSender" do
602
+ optional :email_address, :string, 1
603
+ optional :smtp_host, :string, 2
604
+ optional :smtp_port, :uint32, 3
605
+ optional :smtp_username, :string, 4
606
+ optional :smtp_password, :string, 5
607
+ end
608
+ add_message "depot.devtools.auth.v0.identity.admin.UpdateEmailsSetupRequest" do
609
+ optional :welcome, :message, 1, "depot.devtools.auth.v0.identity.admin.UpdateEmailsSetupRequest.EmailTemplate"
610
+ optional :account_verification, :message, 2, "depot.devtools.auth.v0.identity.admin.UpdateEmailsSetupRequest.EmailTemplate"
611
+ optional :account_recovery, :message, 3, "depot.devtools.auth.v0.identity.admin.UpdateEmailsSetupRequest.EmailTemplate"
612
+ optional :account_recovered, :message, 4, "depot.devtools.auth.v0.identity.admin.UpdateEmailsSetupRequest.EmailTemplate"
613
+ optional :otp, :message, 5, "depot.devtools.auth.v0.identity.admin.UpdateEmailsSetupRequest.EmailTemplate"
614
+ optional :smtp, :message, 6, "depot.devtools.auth.v0.identity.admin.UpdateEmailsSetupRequest.EmailSender"
615
+ end
616
+ add_message "depot.devtools.auth.v0.identity.admin.UpdateEmailsSetupRequest.EmailTemplate" do
617
+ optional :content, :string, 1
618
+ optional :subject, :string, 2
619
+ end
620
+ add_message "depot.devtools.auth.v0.identity.admin.UpdateEmailsSetupRequest.EmailSender" do
621
+ optional :email_address, :string, 1
622
+ optional :smtp_host, :string, 2
623
+ optional :smtp_port, :uint32, 3
624
+ optional :smtp_username, :string, 4
625
+ optional :smtp_password, :string, 5
626
+ end
627
+ add_message "depot.devtools.auth.v0.identity.admin.UpdateEmailsSetupResponse" do
628
+ end
629
+ add_message "depot.devtools.auth.v0.identity.admin.GetUserBaseStatisticsRequest" do
630
+ optional :days_before, :uint32, 1
631
+ optional :lifetime_start_at, :message, 2, "google.protobuf.Timestamp"
632
+ optional :lifetime_end_at, :message, 3, "google.protobuf.Timestamp"
633
+ end
634
+ add_message "depot.devtools.auth.v0.identity.admin.GetUserBaseStatisticsResponse" do
635
+ optional :total_users, :int32, 1
636
+ map :users_per_day, :string, :int32, 2
637
+ map :sessions_per_day, :string, :int32, 3
638
+ optional :total_active_users, :int32, 4
639
+ optional :total_lifetime_used, :double, 5
640
+ end
641
+ add_enum "depot.devtools.auth.v0.identity.admin.ClientType" do
642
+ value :CLIENT_TYPE_UNSET, 0
643
+ value :CLIENT_FIRST_PARTY, 1
644
+ value :CLIENT_THIRD_PARTY, 2
645
+ value :CLIENT_SYSTEM_PARTY, 3
646
+ end
647
+ add_enum "depot.devtools.auth.v0.identity.admin.SubjectType" do
648
+ value :SUBJECT_TYPE_PUBLIC, 0
649
+ value :SUBJECT_TYPE_PAIRWISE, 1
650
+ end
651
+ add_enum "depot.devtools.auth.v0.identity.admin.TokenEndpointAuthMethod" do
652
+ value :TOKEN_ENDPOINT_AUTH_METHOD_CLIENT_SECRET_BASIC, 0
653
+ value :TOKEN_ENDPOINT_AUTH_METHOD_CLIENT_SECRET_POST, 1
654
+ value :TOKEN_ENDPOINT_AUTH_METHOD_PRIVATE_KEY_JWT, 2
655
+ value :TOKEN_ENDPOINT_AUTH_METHOD_NONE, 3
656
+ end
657
+ add_enum "depot.devtools.auth.v0.identity.admin.TokenEndpointAuthSigningAlg" do
658
+ value :TOKEN_ENDPOINT_AUTH_SIGNING_ALG_UNSET, 0
659
+ value :TOKEN_ENDPOINT_AUTH_SIGNING_ALG_RS256, 1
660
+ value :TOKEN_ENDPOINT_AUTH_SIGNING_ALG_RS384, 2
661
+ value :TOKEN_ENDPOINT_AUTH_SIGNING_ALG_RS512, 3
662
+ value :TOKEN_ENDPOINT_AUTH_SIGNING_ALG_PS256, 4
663
+ value :TOKEN_ENDPOINT_AUTH_SIGNING_ALG_PS384, 5
664
+ value :TOKEN_ENDPOINT_AUTH_SIGNING_ALG_PS512, 6
665
+ value :TOKEN_ENDPOINT_AUTH_SIGNING_ALG_ES256, 7
666
+ value :TOKEN_ENDPOINT_AUTH_SIGNING_ALG_ES384, 8
667
+ value :TOKEN_ENDPOINT_AUTH_SIGNING_ALG_ES512, 9
668
+ end
669
+ add_enum "depot.devtools.auth.v0.identity.admin.GrantType" do
670
+ value :GRANT_TYPE_UNSET, 0
671
+ value :GRANT_TYPE_CLIENT_CREDENTIALS, 1
672
+ value :GRANT_TYPE_AUTHORIZATION_CODE, 2
673
+ value :GRANT_TYPE_IMPLICIT, 3
674
+ value :GRANT_TYPE_REFRESH_TOKEN, 4
675
+ value :GRANT_TYPE_DEVICE_CODE, 5
676
+ end
677
+ add_enum "depot.devtools.auth.v0.identity.admin.ResponseType" do
678
+ value :RESPONSE_TYPE_UNSET, 0
679
+ value :RESPONSE_TYPE_NONE, 1
680
+ value :RESPONSE_TYPE_ID_TOKEN, 2
681
+ value :RESPONSE_TYPE_TOKEN, 3
682
+ value :RESPONSE_TYPE_CODE, 4
683
+ value :RESPONSE_TYPE_ID_TOKEN_TOKEN, 5
684
+ value :RESPONSE_TYPE_CODE_ID_TOKEN, 6
685
+ value :RESPONSE_TYPE_CODE_TOKEN, 7
686
+ value :RESPONSE_TYPE_CODE_ID_TOKEN_TOKEN, 8
687
+ end
688
+ add_enum "depot.devtools.auth.v0.identity.admin.RequestObjectSigningAlg" do
689
+ value :REQUEST_OBJECT_SIGNING_ALG_UNSET, 0
690
+ value :REQUEST_OBJECT_SIGNING_ALG_NONE, 1
691
+ value :REQUEST_OBJECT_SIGNING_ALG_RS256, 2
692
+ end
693
+ add_enum "depot.devtools.auth.v0.identity.admin.UserinfoSignedResponseAlg" do
694
+ value :USERINFO_SIGNED_RESPONSE_ALG_UNSET, 0
695
+ value :USERINFO_SIGNED_RESPONSE_ALG_NONE, 1
696
+ value :USERINFO_SIGNED_RESPONSE_ALG_RS256, 2
697
+ end
698
+ end
699
+ end
700
+
701
+ module Auth3
702
+ module Identity
703
+ module Admin
704
+ CreateIdentityRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.CreateIdentityRequest").msgclass
705
+ CreateIdentityResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.CreateIdentityResponse").msgclass
706
+ GetIdentitiesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetIdentitiesRequest").msgclass
707
+ GetIdentitiesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetIdentitiesResponse").msgclass
708
+ GetIdentitiesResponse::Identity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetIdentitiesResponse.Identity").msgclass
709
+ GetIdentitiesResponse::Lock = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetIdentitiesResponse.Lock").enummodule
710
+ GetIdentityRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetIdentityRequest").msgclass
711
+ GetIdentityResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetIdentityResponse").msgclass
712
+ GetIdentityResponse::Lock = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetIdentityResponse.Lock").enummodule
713
+ GetIdentitiesByAttributeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetIdentitiesByAttributeRequest").msgclass
714
+ GetIdentitiesByAttributeResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetIdentitiesByAttributeResponse").msgclass
715
+ GetIdentitiesByAttributeResponse::Identity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetIdentitiesByAttributeResponse.Identity").msgclass
716
+ GetIdentitiesByAttributeResponse::Identity::Lock = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetIdentitiesByAttributeResponse.Identity.Lock").enummodule
717
+ UpdateIdentityRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.UpdateIdentityRequest").msgclass
718
+ UpdateIdentityRequest::Lock = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.UpdateIdentityRequest.Lock").enummodule
719
+ UpdateIdentityResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.UpdateIdentityResponse").msgclass
720
+ DeleteIdentityRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.DeleteIdentityRequest").msgclass
721
+ DeleteIdentityResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.DeleteIdentityResponse").msgclass
722
+ GetCredentialsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetCredentialsRequest").msgclass
723
+ GetCredentialsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetCredentialsResponse").msgclass
724
+ GetCredentialsResponse::Credential = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetCredentialsResponse.Credential").msgclass
725
+ UpdateCredentialRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.UpdateCredentialRequest").msgclass
726
+ UpdateCredentialResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.UpdateCredentialResponse").msgclass
727
+ CreateConnectionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.CreateConnectionRequest").msgclass
728
+ CreateConnectionRequest::Providers = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.CreateConnectionRequest.Providers").enummodule
729
+ CreateConnectionRequest::Types = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.CreateConnectionRequest.Types").enummodule
730
+ CreateConnectionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.CreateConnectionResponse").msgclass
731
+ GetConnectionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetConnectionsRequest").msgclass
732
+ GetConnectionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetConnectionsResponse").msgclass
733
+ GetConnectionsResponse::Connection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetConnectionsResponse.Connection").msgclass
734
+ GetConnectionsResponse::Providers = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetConnectionsResponse.Providers").enummodule
735
+ GetConnectionsResponse::Types = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetConnectionsResponse.Types").enummodule
736
+ GetConnectionsResponse::Purposes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetConnectionsResponse.Purposes").enummodule
737
+ UpdateConnectionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.UpdateConnectionRequest").msgclass
738
+ UpdateConnectionRequest::Providers = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.UpdateConnectionRequest.Providers").enummodule
739
+ UpdateConnectionRequest::Types = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.UpdateConnectionRequest.Types").enummodule
740
+ UpdateConnectionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.UpdateConnectionResponse").msgclass
741
+ DeleteConnectionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.DeleteConnectionRequest").msgclass
742
+ DeleteConnectionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.DeleteConnectionResponse").msgclass
743
+ GetOAuth2ClientsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetOAuth2ClientsRequest").msgclass
744
+ GetOAuth2ClientsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetOAuth2ClientsResponse").msgclass
745
+ GetOAuth2ClientsResponse::Client = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetOAuth2ClientsResponse.Client").msgclass
746
+ CreateOAuth2ClientRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.CreateOAuth2ClientRequest").msgclass
747
+ CreateOAuth2ClientResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.CreateOAuth2ClientResponse").msgclass
748
+ UpdateOAuth2ClientRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.UpdateOAuth2ClientRequest").msgclass
749
+ UpdateOAuth2ClientResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.UpdateOAuth2ClientResponse").msgclass
750
+ DeleteOAuth2ClientRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.DeleteOAuth2ClientRequest").msgclass
751
+ DeleteOAuth2ClientResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.DeleteOAuth2ClientResponse").msgclass
752
+ GetAddressesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetAddressesRequest").msgclass
753
+ GetAddressesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetAddressesResponse").msgclass
754
+ GetAddressesResponse::Address = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetAddressesResponse.Address").msgclass
755
+ GetAddressRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetAddressRequest").msgclass
756
+ GetAddressResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetAddressResponse").msgclass
757
+ UpdateAddressRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.UpdateAddressRequest").msgclass
758
+ UpdateAddressResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.UpdateAddressResponse").msgclass
759
+ GetTraitsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetTraitsRequest").msgclass
760
+ GetTraitsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetTraitsResponse").msgclass
761
+ UpdateTraitsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.UpdateTraitsRequest").msgclass
762
+ UpdateTraitsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.UpdateTraitsResponse").msgclass
763
+ GetIdentityLoginAttemptsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetIdentityLoginAttemptsRequest").msgclass
764
+ GetIdentityLoginAttemptsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetIdentityLoginAttemptsResponse").msgclass
765
+ GetIdentityLoginAttemptsResponse::Attempt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetIdentityLoginAttemptsResponse.Attempt").msgclass
766
+ CreateIdSchemaRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.CreateIdSchemaRequest").msgclass
767
+ CreateIdSchemaResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.CreateIdSchemaResponse").msgclass
768
+ GetIdSchemasRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetIdSchemasRequest").msgclass
769
+ GetIdSchemasResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetIdSchemasResponse").msgclass
770
+ GetIdSchemasResponse::JsonSchema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetIdSchemasResponse.JsonSchema").msgclass
771
+ GetIdSchemaRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetIdSchemaRequest").msgclass
772
+ GetIdSchemaResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetIdSchemaResponse").msgclass
773
+ GetDefaultIdSchemaRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetDefaultIdSchemaRequest").msgclass
774
+ GetDefaultIdSchemaResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetDefaultIdSchemaResponse").msgclass
775
+ UpdateIdSchemaRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.UpdateIdSchemaRequest").msgclass
776
+ UpdateIdSchemaResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.UpdateIdSchemaResponse").msgclass
777
+ MarkDefaultIdSchemaRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.MarkDefaultIdSchemaRequest").msgclass
778
+ MarkDefaultIdSchemaResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.MarkDefaultIdSchemaResponse").msgclass
779
+ DeleteIdSchemaRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.DeleteIdSchemaRequest").msgclass
780
+ DeleteIdSchemaResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.DeleteIdSchemaResponse").msgclass
781
+ GetEmailsSetupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetEmailsSetupRequest").msgclass
782
+ GetEmailsSetupResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetEmailsSetupResponse").msgclass
783
+ GetEmailsSetupResponse::EmailTemplate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetEmailsSetupResponse.EmailTemplate").msgclass
784
+ GetEmailsSetupResponse::EmailSender = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetEmailsSetupResponse.EmailSender").msgclass
785
+ UpdateEmailsSetupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.UpdateEmailsSetupRequest").msgclass
786
+ UpdateEmailsSetupRequest::EmailTemplate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.UpdateEmailsSetupRequest.EmailTemplate").msgclass
787
+ UpdateEmailsSetupRequest::EmailSender = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.UpdateEmailsSetupRequest.EmailSender").msgclass
788
+ UpdateEmailsSetupResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.UpdateEmailsSetupResponse").msgclass
789
+ GetUserBaseStatisticsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetUserBaseStatisticsRequest").msgclass
790
+ GetUserBaseStatisticsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GetUserBaseStatisticsResponse").msgclass
791
+ ClientType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.ClientType").enummodule
792
+ SubjectType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.SubjectType").enummodule
793
+ TokenEndpointAuthMethod = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.TokenEndpointAuthMethod").enummodule
794
+ TokenEndpointAuthSigningAlg = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.TokenEndpointAuthSigningAlg").enummodule
795
+ GrantType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.GrantType").enummodule
796
+ ResponseType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.ResponseType").enummodule
797
+ RequestObjectSigningAlg = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.RequestObjectSigningAlg").enummodule
798
+ UserinfoSignedResponseAlg = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("depot.devtools.auth.v0.identity.admin.UserinfoSignedResponseAlg").enummodule
799
+ end
800
+ end
801
+ end
@@ -0,0 +1,57 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: devtools/auth/v0/proto/identity/admin/admin.proto for package 'Auth3.Identity.Admin'
3
+
4
+ require 'grpc'
5
+ require_relative 'admin_pb'
6
+
7
+ module Auth3
8
+ module Identity
9
+ module Admin
10
+ module Admin
11
+ class Service
12
+
13
+ include ::GRPC::GenericService
14
+
15
+ self.marshal_class_method = :encode
16
+ self.unmarshal_class_method = :decode
17
+ self.service_name = 'depot.devtools.auth.v0.identity.admin.Admin'
18
+
19
+ rpc :CreateIdentity, ::Auth3::Identity::Admin::CreateIdentityRequest, ::Auth3::Identity::Admin::CreateIdentityResponse
20
+ rpc :GetIdentity, ::Auth3::Identity::Admin::GetIdentityRequest, ::Auth3::Identity::Admin::GetIdentityResponse
21
+ rpc :GetIdentitiesByAttribute, ::Auth3::Identity::Admin::GetIdentitiesByAttributeRequest, ::Auth3::Identity::Admin::GetIdentitiesByAttributeResponse
22
+ rpc :GetIdentities, ::Auth3::Identity::Admin::GetIdentitiesRequest, ::Auth3::Identity::Admin::GetIdentitiesResponse
23
+ rpc :UpdateIdentity, ::Auth3::Identity::Admin::UpdateIdentityRequest, ::Auth3::Identity::Admin::UpdateIdentityResponse
24
+ rpc :DeleteIdentity, ::Auth3::Identity::Admin::DeleteIdentityRequest, ::Auth3::Identity::Admin::DeleteIdentityResponse
25
+ rpc :GetAddresses, ::Auth3::Identity::Admin::GetAddressesRequest, ::Auth3::Identity::Admin::GetAddressesResponse
26
+ rpc :GetAddress, ::Auth3::Identity::Admin::GetAddressRequest, ::Auth3::Identity::Admin::GetAddressResponse
27
+ rpc :UpdateAddress, ::Auth3::Identity::Admin::UpdateAddressRequest, ::Auth3::Identity::Admin::UpdateAddressResponse
28
+ rpc :GetTraits, ::Auth3::Identity::Admin::GetTraitsRequest, ::Auth3::Identity::Admin::GetTraitsResponse
29
+ rpc :UpdateTraits, ::Auth3::Identity::Admin::UpdateTraitsRequest, ::Auth3::Identity::Admin::UpdateTraitsResponse
30
+ rpc :GetCredentials, ::Auth3::Identity::Admin::GetCredentialsRequest, ::Auth3::Identity::Admin::GetCredentialsResponse
31
+ rpc :UpdateCredential, ::Auth3::Identity::Admin::UpdateCredentialRequest, ::Auth3::Identity::Admin::UpdateCredentialResponse
32
+ rpc :GetIdentityLoginAttempts, ::Auth3::Identity::Admin::GetIdentityLoginAttemptsRequest, ::Auth3::Identity::Admin::GetIdentityLoginAttemptsResponse
33
+ rpc :CreateConnection, ::Auth3::Identity::Admin::CreateConnectionRequest, ::Auth3::Identity::Admin::CreateConnectionResponse
34
+ rpc :GetConnections, ::Auth3::Identity::Admin::GetConnectionsRequest, ::Auth3::Identity::Admin::GetConnectionsResponse
35
+ rpc :UpdateConnection, ::Auth3::Identity::Admin::UpdateConnectionRequest, ::Auth3::Identity::Admin::UpdateConnectionResponse
36
+ rpc :DeleteConnection, ::Auth3::Identity::Admin::DeleteConnectionRequest, ::Auth3::Identity::Admin::DeleteConnectionResponse
37
+ rpc :CreateIdSchema, ::Auth3::Identity::Admin::CreateIdSchemaRequest, ::Auth3::Identity::Admin::CreateIdSchemaResponse
38
+ rpc :GetIdSchemas, ::Auth3::Identity::Admin::GetIdSchemasRequest, ::Auth3::Identity::Admin::GetIdSchemasResponse
39
+ rpc :GetIdSchema, ::Auth3::Identity::Admin::GetIdSchemaRequest, ::Auth3::Identity::Admin::GetIdSchemaResponse
40
+ rpc :GetDefaultIdSchema, ::Auth3::Identity::Admin::GetDefaultIdSchemaRequest, ::Auth3::Identity::Admin::GetDefaultIdSchemaResponse
41
+ rpc :UpdateIdSchema, ::Auth3::Identity::Admin::UpdateIdSchemaRequest, ::Auth3::Identity::Admin::UpdateIdSchemaResponse
42
+ rpc :MarkDefaultIdSchema, ::Auth3::Identity::Admin::MarkDefaultIdSchemaRequest, ::Auth3::Identity::Admin::MarkDefaultIdSchemaResponse
43
+ rpc :DeleteIdSchema, ::Auth3::Identity::Admin::DeleteIdSchemaRequest, ::Auth3::Identity::Admin::DeleteIdSchemaResponse
44
+ rpc :CreateOAuth2Client, ::Auth3::Identity::Admin::CreateOAuth2ClientRequest, ::Auth3::Identity::Admin::CreateOAuth2ClientResponse
45
+ rpc :GetOAuth2Clients, ::Auth3::Identity::Admin::GetOAuth2ClientsRequest, ::Auth3::Identity::Admin::GetOAuth2ClientsResponse
46
+ rpc :UpdateOAuth2Client, ::Auth3::Identity::Admin::UpdateOAuth2ClientRequest, ::Auth3::Identity::Admin::UpdateOAuth2ClientResponse
47
+ rpc :DeleteOAuth2Client, ::Auth3::Identity::Admin::DeleteOAuth2ClientRequest, ::Auth3::Identity::Admin::DeleteOAuth2ClientResponse
48
+ rpc :GetEmailsSetup, ::Auth3::Identity::Admin::GetEmailsSetupRequest, ::Auth3::Identity::Admin::GetEmailsSetupResponse
49
+ rpc :UpdateEmailsSetup, ::Auth3::Identity::Admin::UpdateEmailsSetupRequest, ::Auth3::Identity::Admin::UpdateEmailsSetupResponse
50
+ rpc :GetUserBaseStatistics, ::Auth3::Identity::Admin::GetUserBaseStatisticsRequest, ::Auth3::Identity::Admin::GetUserBaseStatisticsResponse
51
+ end
52
+
53
+ Stub = Service.rpc_stub_class
54
+ end
55
+ end
56
+ end
57
+ end
data/lib/auth3_sdk.rb ADDED
@@ -0,0 +1 @@
1
+ require 'admin/admin'
metadata ADDED
@@ -0,0 +1,66 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: auth3_sdk
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Auth3
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2021-10-16 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: grpc
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.0'
27
+ description: This gem allows you to integrate with the Identity Management solution
28
+ of https://auth3.dev/.
29
+ email:
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - lib/admin/admin.rb
35
+ - lib/admin/admin_pb.rb
36
+ - lib/admin/admin_services_pb.rb
37
+ - lib/auth3_sdk.rb
38
+ homepage: https://auth3.dev/
39
+ licenses:
40
+ - Apache-2.0
41
+ metadata:
42
+ bug_tracker_uri: https://github.com/auth3-dev/ruby-sdk/issues
43
+ documentation_uri: https://docs.auth3.dev/apis/identity-platform/administrative
44
+ homepage_uri: https://auth3.dev/
45
+ source_code_uri: https://github.com/auth3-dev/ruby-sdk
46
+ wiki_uri: https://docs.auth3.dev
47
+ post_install_message:
48
+ rdoc_options: []
49
+ require_paths:
50
+ - lib
51
+ required_ruby_version: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: 2.5.0
56
+ required_rubygems_version: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ requirements: []
62
+ rubygems_version: 3.2.22
63
+ signing_key:
64
+ specification_version: 4
65
+ summary: Official Auth3 Identity Platform SDK, read more at https://auth3.dev/
66
+ test_files: []