linerb 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,905 @@
1
+ #
2
+ # Autogenerated by Thrift Compiler (0.13.0)
3
+ #
4
+ # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
+ #
6
+
7
+ require 'thrift'
8
+ require_relative 'takagi_chan_types'
9
+
10
+ module AuthService
11
+ class Client
12
+ include ::Thrift::Client
13
+
14
+ def setPassword(authSessionId, encryptedPassword)
15
+ send_setPassword(authSessionId, encryptedPassword)
16
+ return recv_setPassword()
17
+ end
18
+
19
+ def send_setPassword(authSessionId, encryptedPassword)
20
+ send_message('setPassword', SetPassword_args, :authSessionId => authSessionId, :encryptedPassword => encryptedPassword)
21
+ end
22
+
23
+ def recv_setPassword()
24
+ result = receive_message(SetPassword_result)
25
+ return result.success unless result.success.nil?
26
+ raise result.e unless result.e.nil?
27
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'setPassword failed: unknown result')
28
+ end
29
+
30
+ def setIdentifierAndPassword(authSessionId, request)
31
+ send_setIdentifierAndPassword(authSessionId, request)
32
+ return recv_setIdentifierAndPassword()
33
+ end
34
+
35
+ def send_setIdentifierAndPassword(authSessionId, request)
36
+ send_message('setIdentifierAndPassword', SetIdentifierAndPassword_args, :authSessionId => authSessionId, :request => request)
37
+ end
38
+
39
+ def recv_setIdentifierAndPassword()
40
+ result = receive_message(SetIdentifierAndPassword_result)
41
+ return result.success unless result.success.nil?
42
+ raise result.e unless result.e.nil?
43
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'setIdentifierAndPassword failed: unknown result')
44
+ end
45
+
46
+ def updateIdentifier(authSessionId, request)
47
+ send_updateIdentifier(authSessionId, request)
48
+ return recv_updateIdentifier()
49
+ end
50
+
51
+ def send_updateIdentifier(authSessionId, request)
52
+ send_message('updateIdentifier', UpdateIdentifier_args, :authSessionId => authSessionId, :request => request)
53
+ end
54
+
55
+ def recv_updateIdentifier()
56
+ result = receive_message(UpdateIdentifier_result)
57
+ return result.success unless result.success.nil?
58
+ raise result.e unless result.e.nil?
59
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'updateIdentifier failed: unknown result')
60
+ end
61
+
62
+ def updatePassword(authSessionId, request)
63
+ send_updatePassword(authSessionId, request)
64
+ return recv_updatePassword()
65
+ end
66
+
67
+ def send_updatePassword(authSessionId, request)
68
+ send_message('updatePassword', UpdatePassword_args, :authSessionId => authSessionId, :request => request)
69
+ end
70
+
71
+ def recv_updatePassword()
72
+ result = receive_message(UpdatePassword_result)
73
+ return result.success unless result.success.nil?
74
+ raise result.e unless result.e.nil?
75
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'updatePassword failed: unknown result')
76
+ end
77
+
78
+ def removeIdentifier(authSessionId, request)
79
+ send_removeIdentifier(authSessionId, request)
80
+ return recv_removeIdentifier()
81
+ end
82
+
83
+ def send_removeIdentifier(authSessionId, request)
84
+ send_message('removeIdentifier', RemoveIdentifier_args, :authSessionId => authSessionId, :request => request)
85
+ end
86
+
87
+ def recv_removeIdentifier()
88
+ result = receive_message(RemoveIdentifier_result)
89
+ return result.success unless result.success.nil?
90
+ raise result.e unless result.e.nil?
91
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'removeIdentifier failed: unknown result')
92
+ end
93
+
94
+ def issueTokenForAccountMigration(migrationSessionId)
95
+ send_issueTokenForAccountMigration(migrationSessionId)
96
+ return recv_issueTokenForAccountMigration()
97
+ end
98
+
99
+ def send_issueTokenForAccountMigration(migrationSessionId)
100
+ send_message('issueTokenForAccountMigration', IssueTokenForAccountMigration_args, :migrationSessionId => migrationSessionId)
101
+ end
102
+
103
+ def recv_issueTokenForAccountMigration()
104
+ result = receive_message(IssueTokenForAccountMigration_result)
105
+ return result.success unless result.success.nil?
106
+ raise result.e unless result.e.nil?
107
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'issueTokenForAccountMigration failed: unknown result')
108
+ end
109
+
110
+ def issueTokenForAccountMigrationSettings(enforce)
111
+ send_issueTokenForAccountMigrationSettings(enforce)
112
+ return recv_issueTokenForAccountMigrationSettings()
113
+ end
114
+
115
+ def send_issueTokenForAccountMigrationSettings(enforce)
116
+ send_message('issueTokenForAccountMigrationSettings', IssueTokenForAccountMigrationSettings_args, :enforce => enforce)
117
+ end
118
+
119
+ def recv_issueTokenForAccountMigrationSettings()
120
+ result = receive_message(IssueTokenForAccountMigrationSettings_result)
121
+ return result.success unless result.success.nil?
122
+ raise result.e unless result.e.nil?
123
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'issueTokenForAccountMigrationSettings failed: unknown result')
124
+ end
125
+
126
+ def respondE2EELoginRequest(verifier, publicKey, encryptedKeyChain, hashKeyChain, errorCode)
127
+ send_respondE2EELoginRequest(verifier, publicKey, encryptedKeyChain, hashKeyChain, errorCode)
128
+ recv_respondE2EELoginRequest()
129
+ end
130
+
131
+ def send_respondE2EELoginRequest(verifier, publicKey, encryptedKeyChain, hashKeyChain, errorCode)
132
+ send_message('respondE2EELoginRequest', RespondE2EELoginRequest_args, :verifier => verifier, :publicKey => publicKey, :encryptedKeyChain => encryptedKeyChain, :hashKeyChain => hashKeyChain, :errorCode => errorCode)
133
+ end
134
+
135
+ def recv_respondE2EELoginRequest()
136
+ result = receive_message(RespondE2EELoginRequest_result)
137
+ return
138
+ end
139
+
140
+ def getAuthRSAKey(authSessionId, identityProvider)
141
+ send_getAuthRSAKey(authSessionId, identityProvider)
142
+ return recv_getAuthRSAKey()
143
+ end
144
+
145
+ def send_getAuthRSAKey(authSessionId, identityProvider)
146
+ send_message('getAuthRSAKey', GetAuthRSAKey_args, :authSessionId => authSessionId, :identityProvider => identityProvider)
147
+ end
148
+
149
+ def recv_getAuthRSAKey()
150
+ result = receive_message(GetAuthRSAKey_result)
151
+ return result.success unless result.success.nil?
152
+ raise result.e unless result.e.nil?
153
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getAuthRSAKey failed: unknown result')
154
+ end
155
+
156
+ def setIdentifier(authSessionId, request)
157
+ send_setIdentifier(authSessionId, request)
158
+ return recv_setIdentifier()
159
+ end
160
+
161
+ def send_setIdentifier(authSessionId, request)
162
+ send_message('setIdentifier', SetIdentifier_args, :authSessionId => authSessionId, :request => request)
163
+ end
164
+
165
+ def recv_setIdentifier()
166
+ result = receive_message(SetIdentifier_result)
167
+ return result.success unless result.success.nil?
168
+ raise result.e unless result.e.nil?
169
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'setIdentifier failed: unknown result')
170
+ end
171
+
172
+ def resendIdentifierConfirmation(authSessionId, request)
173
+ send_resendIdentifierConfirmation(authSessionId, request)
174
+ return recv_resendIdentifierConfirmation()
175
+ end
176
+
177
+ def send_resendIdentifierConfirmation(authSessionId, request)
178
+ send_message('resendIdentifierConfirmation', ResendIdentifierConfirmation_args, :authSessionId => authSessionId, :request => request)
179
+ end
180
+
181
+ def recv_resendIdentifierConfirmation()
182
+ result = receive_message(ResendIdentifierConfirmation_result)
183
+ return result.success unless result.success.nil?
184
+ raise result.e unless result.e.nil?
185
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'resendIdentifierConfirmation failed: unknown result')
186
+ end
187
+
188
+ def confirmIdentifier(authSessionId, request)
189
+ send_confirmIdentifier(authSessionId, request)
190
+ return recv_confirmIdentifier()
191
+ end
192
+
193
+ def send_confirmIdentifier(authSessionId, request)
194
+ send_message('confirmIdentifier', ConfirmIdentifier_args, :authSessionId => authSessionId, :request => request)
195
+ end
196
+
197
+ def recv_confirmIdentifier()
198
+ result = receive_message(ConfirmIdentifier_result)
199
+ return result.success unless result.success.nil?
200
+ raise result.e unless result.e.nil?
201
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'confirmIdentifier failed: unknown result')
202
+ end
203
+
204
+ def exchangeKey(authSessionId, request)
205
+ send_exchangeKey(authSessionId, request)
206
+ return recv_exchangeKey()
207
+ end
208
+
209
+ def send_exchangeKey(authSessionId, request)
210
+ send_message('exchangeKey', ExchangeKey_args, :authSessionId => authSessionId, :request => request)
211
+ end
212
+
213
+ def recv_exchangeKey()
214
+ result = receive_message(ExchangeKey_result)
215
+ return result.success unless result.success.nil?
216
+ raise result.e unless result.e.nil?
217
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'exchangeKey failed: unknown result')
218
+ end
219
+
220
+ def setClovaCredential(authSessionId, request)
221
+ send_setClovaCredential(authSessionId, request)
222
+ return recv_setClovaCredential()
223
+ end
224
+
225
+ def send_setClovaCredential(authSessionId, request)
226
+ send_message('setClovaCredential', SetClovaCredential_args, :authSessionId => authSessionId, :request => request)
227
+ end
228
+
229
+ def recv_setClovaCredential()
230
+ result = receive_message(SetClovaCredential_result)
231
+ return result.success unless result.success.nil?
232
+ raise result.e unless result.e.nil?
233
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'setClovaCredential failed: unknown result')
234
+ end
235
+
236
+ end
237
+
238
+ class Processor
239
+ include ::Thrift::Processor
240
+
241
+ def process_setPassword(seqid, iprot, oprot)
242
+ args = read_args(iprot, SetPassword_args)
243
+ result = SetPassword_result.new()
244
+ begin
245
+ result.success = @handler.setPassword(args.authSessionId, args.encryptedPassword)
246
+ rescue ::TalkException => e
247
+ result.e = e
248
+ end
249
+ write_result(result, oprot, 'setPassword', seqid)
250
+ end
251
+
252
+ def process_setIdentifierAndPassword(seqid, iprot, oprot)
253
+ args = read_args(iprot, SetIdentifierAndPassword_args)
254
+ result = SetIdentifierAndPassword_result.new()
255
+ begin
256
+ result.success = @handler.setIdentifierAndPassword(args.authSessionId, args.request)
257
+ rescue ::TalkException => e
258
+ result.e = e
259
+ end
260
+ write_result(result, oprot, 'setIdentifierAndPassword', seqid)
261
+ end
262
+
263
+ def process_updateIdentifier(seqid, iprot, oprot)
264
+ args = read_args(iprot, UpdateIdentifier_args)
265
+ result = UpdateIdentifier_result.new()
266
+ begin
267
+ result.success = @handler.updateIdentifier(args.authSessionId, args.request)
268
+ rescue ::TalkException => e
269
+ result.e = e
270
+ end
271
+ write_result(result, oprot, 'updateIdentifier', seqid)
272
+ end
273
+
274
+ def process_updatePassword(seqid, iprot, oprot)
275
+ args = read_args(iprot, UpdatePassword_args)
276
+ result = UpdatePassword_result.new()
277
+ begin
278
+ result.success = @handler.updatePassword(args.authSessionId, args.request)
279
+ rescue ::TalkException => e
280
+ result.e = e
281
+ end
282
+ write_result(result, oprot, 'updatePassword', seqid)
283
+ end
284
+
285
+ def process_removeIdentifier(seqid, iprot, oprot)
286
+ args = read_args(iprot, RemoveIdentifier_args)
287
+ result = RemoveIdentifier_result.new()
288
+ begin
289
+ result.success = @handler.removeIdentifier(args.authSessionId, args.request)
290
+ rescue ::TalkException => e
291
+ result.e = e
292
+ end
293
+ write_result(result, oprot, 'removeIdentifier', seqid)
294
+ end
295
+
296
+ def process_issueTokenForAccountMigration(seqid, iprot, oprot)
297
+ args = read_args(iprot, IssueTokenForAccountMigration_args)
298
+ result = IssueTokenForAccountMigration_result.new()
299
+ begin
300
+ result.success = @handler.issueTokenForAccountMigration(args.migrationSessionId)
301
+ rescue ::TalkException => e
302
+ result.e = e
303
+ end
304
+ write_result(result, oprot, 'issueTokenForAccountMigration', seqid)
305
+ end
306
+
307
+ def process_issueTokenForAccountMigrationSettings(seqid, iprot, oprot)
308
+ args = read_args(iprot, IssueTokenForAccountMigrationSettings_args)
309
+ result = IssueTokenForAccountMigrationSettings_result.new()
310
+ begin
311
+ result.success = @handler.issueTokenForAccountMigrationSettings(args.enforce)
312
+ rescue ::TalkException => e
313
+ result.e = e
314
+ end
315
+ write_result(result, oprot, 'issueTokenForAccountMigrationSettings', seqid)
316
+ end
317
+
318
+ def process_respondE2EELoginRequest(seqid, iprot, oprot)
319
+ args = read_args(iprot, RespondE2EELoginRequest_args)
320
+ result = RespondE2EELoginRequest_result.new()
321
+ @handler.respondE2EELoginRequest(args.verifier, args.publicKey, args.encryptedKeyChain, args.hashKeyChain, args.errorCode)
322
+ write_result(result, oprot, 'respondE2EELoginRequest', seqid)
323
+ end
324
+
325
+ def process_getAuthRSAKey(seqid, iprot, oprot)
326
+ args = read_args(iprot, GetAuthRSAKey_args)
327
+ result = GetAuthRSAKey_result.new()
328
+ begin
329
+ result.success = @handler.getAuthRSAKey(args.authSessionId, args.identityProvider)
330
+ rescue ::TalkException => e
331
+ result.e = e
332
+ end
333
+ write_result(result, oprot, 'getAuthRSAKey', seqid)
334
+ end
335
+
336
+ def process_setIdentifier(seqid, iprot, oprot)
337
+ args = read_args(iprot, SetIdentifier_args)
338
+ result = SetIdentifier_result.new()
339
+ begin
340
+ result.success = @handler.setIdentifier(args.authSessionId, args.request)
341
+ rescue ::TalkException => e
342
+ result.e = e
343
+ end
344
+ write_result(result, oprot, 'setIdentifier', seqid)
345
+ end
346
+
347
+ def process_resendIdentifierConfirmation(seqid, iprot, oprot)
348
+ args = read_args(iprot, ResendIdentifierConfirmation_args)
349
+ result = ResendIdentifierConfirmation_result.new()
350
+ begin
351
+ result.success = @handler.resendIdentifierConfirmation(args.authSessionId, args.request)
352
+ rescue ::TalkException => e
353
+ result.e = e
354
+ end
355
+ write_result(result, oprot, 'resendIdentifierConfirmation', seqid)
356
+ end
357
+
358
+ def process_confirmIdentifier(seqid, iprot, oprot)
359
+ args = read_args(iprot, ConfirmIdentifier_args)
360
+ result = ConfirmIdentifier_result.new()
361
+ begin
362
+ result.success = @handler.confirmIdentifier(args.authSessionId, args.request)
363
+ rescue ::TalkException => e
364
+ result.e = e
365
+ end
366
+ write_result(result, oprot, 'confirmIdentifier', seqid)
367
+ end
368
+
369
+ def process_exchangeKey(seqid, iprot, oprot)
370
+ args = read_args(iprot, ExchangeKey_args)
371
+ result = ExchangeKey_result.new()
372
+ begin
373
+ result.success = @handler.exchangeKey(args.authSessionId, args.request)
374
+ rescue ::TalkException => e
375
+ result.e = e
376
+ end
377
+ write_result(result, oprot, 'exchangeKey', seqid)
378
+ end
379
+
380
+ def process_setClovaCredential(seqid, iprot, oprot)
381
+ args = read_args(iprot, SetClovaCredential_args)
382
+ result = SetClovaCredential_result.new()
383
+ begin
384
+ result.success = @handler.setClovaCredential(args.authSessionId, args.request)
385
+ rescue ::TalkException => e
386
+ result.e = e
387
+ end
388
+ write_result(result, oprot, 'setClovaCredential', seqid)
389
+ end
390
+
391
+ end
392
+
393
+ # HELPER FUNCTIONS AND STRUCTURES
394
+
395
+ class SetPassword_args
396
+ include ::Thrift::Struct, ::Thrift::Struct_Union
397
+ AUTHSESSIONID = 1
398
+ ENCRYPTEDPASSWORD = 2
399
+
400
+ FIELDS = {
401
+ AUTHSESSIONID => {:type => ::Thrift::Types::STRING, :name => 'authSessionId'},
402
+ ENCRYPTEDPASSWORD => {:type => ::Thrift::Types::STRUCT, :name => 'encryptedPassword', :class => ::EncryptedPassword}
403
+ }
404
+
405
+ def struct_fields; FIELDS; end
406
+
407
+ def validate
408
+ end
409
+
410
+ ::Thrift::Struct.generate_accessors self
411
+ end
412
+
413
+ class SetPassword_result
414
+ include ::Thrift::Struct, ::Thrift::Struct_Union
415
+ SUCCESS = 0
416
+ E = 1
417
+
418
+ FIELDS = {
419
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::IdentityCredentialResponse},
420
+ E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::TalkException}
421
+ }
422
+
423
+ def struct_fields; FIELDS; end
424
+
425
+ def validate
426
+ end
427
+
428
+ ::Thrift::Struct.generate_accessors self
429
+ end
430
+
431
+ class SetIdentifierAndPassword_args
432
+ include ::Thrift::Struct, ::Thrift::Struct_Union
433
+ AUTHSESSIONID = 2
434
+ REQUEST = 3
435
+
436
+ FIELDS = {
437
+ AUTHSESSIONID => {:type => ::Thrift::Types::STRING, :name => 'authSessionId'},
438
+ REQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'request', :class => ::IdentityCredentialRequest}
439
+ }
440
+
441
+ def struct_fields; FIELDS; end
442
+
443
+ def validate
444
+ end
445
+
446
+ ::Thrift::Struct.generate_accessors self
447
+ end
448
+
449
+ class SetIdentifierAndPassword_result
450
+ include ::Thrift::Struct, ::Thrift::Struct_Union
451
+ SUCCESS = 0
452
+ E = 1
453
+
454
+ FIELDS = {
455
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::IdentityCredentialResponse},
456
+ E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::TalkException}
457
+ }
458
+
459
+ def struct_fields; FIELDS; end
460
+
461
+ def validate
462
+ end
463
+
464
+ ::Thrift::Struct.generate_accessors self
465
+ end
466
+
467
+ class UpdateIdentifier_args
468
+ include ::Thrift::Struct, ::Thrift::Struct_Union
469
+ AUTHSESSIONID = 2
470
+ REQUEST = 3
471
+
472
+ FIELDS = {
473
+ AUTHSESSIONID => {:type => ::Thrift::Types::STRING, :name => 'authSessionId'},
474
+ REQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'request', :class => ::IdentityCredentialRequest}
475
+ }
476
+
477
+ def struct_fields; FIELDS; end
478
+
479
+ def validate
480
+ end
481
+
482
+ ::Thrift::Struct.generate_accessors self
483
+ end
484
+
485
+ class UpdateIdentifier_result
486
+ include ::Thrift::Struct, ::Thrift::Struct_Union
487
+ SUCCESS = 0
488
+ E = 1
489
+
490
+ FIELDS = {
491
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::IdentityCredentialResponse},
492
+ E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::TalkException}
493
+ }
494
+
495
+ def struct_fields; FIELDS; end
496
+
497
+ def validate
498
+ end
499
+
500
+ ::Thrift::Struct.generate_accessors self
501
+ end
502
+
503
+ class UpdatePassword_args
504
+ include ::Thrift::Struct, ::Thrift::Struct_Union
505
+ AUTHSESSIONID = 2
506
+ REQUEST = 3
507
+
508
+ FIELDS = {
509
+ AUTHSESSIONID => {:type => ::Thrift::Types::STRING, :name => 'authSessionId'},
510
+ REQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'request', :class => ::IdentityCredentialRequest}
511
+ }
512
+
513
+ def struct_fields; FIELDS; end
514
+
515
+ def validate
516
+ end
517
+
518
+ ::Thrift::Struct.generate_accessors self
519
+ end
520
+
521
+ class UpdatePassword_result
522
+ include ::Thrift::Struct, ::Thrift::Struct_Union
523
+ SUCCESS = 0
524
+ E = 1
525
+
526
+ FIELDS = {
527
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::IdentityCredentialResponse},
528
+ E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::TalkException}
529
+ }
530
+
531
+ def struct_fields; FIELDS; end
532
+
533
+ def validate
534
+ end
535
+
536
+ ::Thrift::Struct.generate_accessors self
537
+ end
538
+
539
+ class RemoveIdentifier_args
540
+ include ::Thrift::Struct, ::Thrift::Struct_Union
541
+ AUTHSESSIONID = 2
542
+ REQUEST = 3
543
+
544
+ FIELDS = {
545
+ AUTHSESSIONID => {:type => ::Thrift::Types::STRING, :name => 'authSessionId'},
546
+ REQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'request', :class => ::IdentityCredentialRequest}
547
+ }
548
+
549
+ def struct_fields; FIELDS; end
550
+
551
+ def validate
552
+ end
553
+
554
+ ::Thrift::Struct.generate_accessors self
555
+ end
556
+
557
+ class RemoveIdentifier_result
558
+ include ::Thrift::Struct, ::Thrift::Struct_Union
559
+ SUCCESS = 0
560
+ E = 1
561
+
562
+ FIELDS = {
563
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::IdentityCredentialResponse},
564
+ E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::TalkException}
565
+ }
566
+
567
+ def struct_fields; FIELDS; end
568
+
569
+ def validate
570
+ end
571
+
572
+ ::Thrift::Struct.generate_accessors self
573
+ end
574
+
575
+ class IssueTokenForAccountMigration_args
576
+ include ::Thrift::Struct, ::Thrift::Struct_Union
577
+ MIGRATIONSESSIONID = 2
578
+
579
+ FIELDS = {
580
+ MIGRATIONSESSIONID => {:type => ::Thrift::Types::STRING, :name => 'migrationSessionId'}
581
+ }
582
+
583
+ def struct_fields; FIELDS; end
584
+
585
+ def validate
586
+ end
587
+
588
+ ::Thrift::Struct.generate_accessors self
589
+ end
590
+
591
+ class IssueTokenForAccountMigration_result
592
+ include ::Thrift::Struct, ::Thrift::Struct_Union
593
+ SUCCESS = 0
594
+ E = 1
595
+
596
+ FIELDS = {
597
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::SecurityCenterResult},
598
+ E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::TalkException}
599
+ }
600
+
601
+ def struct_fields; FIELDS; end
602
+
603
+ def validate
604
+ end
605
+
606
+ ::Thrift::Struct.generate_accessors self
607
+ end
608
+
609
+ class IssueTokenForAccountMigrationSettings_args
610
+ include ::Thrift::Struct, ::Thrift::Struct_Union
611
+ ENFORCE = 2
612
+
613
+ FIELDS = {
614
+ ENFORCE => {:type => ::Thrift::Types::BOOL, :name => 'enforce'}
615
+ }
616
+
617
+ def struct_fields; FIELDS; end
618
+
619
+ def validate
620
+ end
621
+
622
+ ::Thrift::Struct.generate_accessors self
623
+ end
624
+
625
+ class IssueTokenForAccountMigrationSettings_result
626
+ include ::Thrift::Struct, ::Thrift::Struct_Union
627
+ SUCCESS = 0
628
+ E = 1
629
+
630
+ FIELDS = {
631
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::SecurityCenterResult},
632
+ E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::TalkException}
633
+ }
634
+
635
+ def struct_fields; FIELDS; end
636
+
637
+ def validate
638
+ end
639
+
640
+ ::Thrift::Struct.generate_accessors self
641
+ end
642
+
643
+ class RespondE2EELoginRequest_args
644
+ include ::Thrift::Struct, ::Thrift::Struct_Union
645
+ VERIFIER = 1
646
+ PUBLICKEY = 2
647
+ ENCRYPTEDKEYCHAIN = 3
648
+ HASHKEYCHAIN = 4
649
+ ERRORCODE = 5
650
+
651
+ FIELDS = {
652
+ VERIFIER => {:type => ::Thrift::Types::STRING, :name => 'verifier'},
653
+ PUBLICKEY => {:type => ::Thrift::Types::STRUCT, :name => 'publicKey', :class => ::E2EEPublicKey},
654
+ ENCRYPTEDKEYCHAIN => {:type => ::Thrift::Types::STRING, :name => 'encryptedKeyChain'},
655
+ HASHKEYCHAIN => {:type => ::Thrift::Types::STRING, :name => 'hashKeyChain'},
656
+ ERRORCODE => {:type => ::Thrift::Types::I32, :name => 'errorCode', :enum_class => ::J0_a_e_a_b_ba}
657
+ }
658
+
659
+ def struct_fields; FIELDS; end
660
+
661
+ def validate
662
+ unless @errorCode.nil? || ::J0_a_e_a_b_ba::VALID_VALUES.include?(@errorCode)
663
+ raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field errorCode!')
664
+ end
665
+ end
666
+
667
+ ::Thrift::Struct.generate_accessors self
668
+ end
669
+
670
+ class RespondE2EELoginRequest_result
671
+ include ::Thrift::Struct, ::Thrift::Struct_Union
672
+
673
+ FIELDS = {
674
+
675
+ }
676
+
677
+ def struct_fields; FIELDS; end
678
+
679
+ def validate
680
+ end
681
+
682
+ ::Thrift::Struct.generate_accessors self
683
+ end
684
+
685
+ class GetAuthRSAKey_args
686
+ include ::Thrift::Struct, ::Thrift::Struct_Union
687
+ AUTHSESSIONID = 2
688
+ IDENTITYPROVIDER = 3
689
+
690
+ FIELDS = {
691
+ AUTHSESSIONID => {:type => ::Thrift::Types::STRING, :name => 'authSessionId'},
692
+ IDENTITYPROVIDER => {:type => ::Thrift::Types::I32, :name => 'identityProvider', :enum_class => ::J0_a_e_a_b_rc}
693
+ }
694
+
695
+ def struct_fields; FIELDS; end
696
+
697
+ def validate
698
+ unless @identityProvider.nil? || ::J0_a_e_a_b_rc::VALID_VALUES.include?(@identityProvider)
699
+ raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field identityProvider!')
700
+ end
701
+ end
702
+
703
+ ::Thrift::Struct.generate_accessors self
704
+ end
705
+
706
+ class GetAuthRSAKey_result
707
+ include ::Thrift::Struct, ::Thrift::Struct_Union
708
+ SUCCESS = 0
709
+ E = 1
710
+
711
+ FIELDS = {
712
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::RSAKey},
713
+ E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::TalkException}
714
+ }
715
+
716
+ def struct_fields; FIELDS; end
717
+
718
+ def validate
719
+ end
720
+
721
+ ::Thrift::Struct.generate_accessors self
722
+ end
723
+
724
+ class SetIdentifier_args
725
+ include ::Thrift::Struct, ::Thrift::Struct_Union
726
+ AUTHSESSIONID = 2
727
+ REQUEST = 3
728
+
729
+ FIELDS = {
730
+ AUTHSESSIONID => {:type => ::Thrift::Types::STRING, :name => 'authSessionId'},
731
+ REQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'request', :class => ::IdentityCredentialRequest}
732
+ }
733
+
734
+ def struct_fields; FIELDS; end
735
+
736
+ def validate
737
+ end
738
+
739
+ ::Thrift::Struct.generate_accessors self
740
+ end
741
+
742
+ class SetIdentifier_result
743
+ include ::Thrift::Struct, ::Thrift::Struct_Union
744
+ SUCCESS = 0
745
+ E = 1
746
+
747
+ FIELDS = {
748
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::IdentityCredentialResponse},
749
+ E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::TalkException}
750
+ }
751
+
752
+ def struct_fields; FIELDS; end
753
+
754
+ def validate
755
+ end
756
+
757
+ ::Thrift::Struct.generate_accessors self
758
+ end
759
+
760
+ class ResendIdentifierConfirmation_args
761
+ include ::Thrift::Struct, ::Thrift::Struct_Union
762
+ AUTHSESSIONID = 2
763
+ REQUEST = 3
764
+
765
+ FIELDS = {
766
+ AUTHSESSIONID => {:type => ::Thrift::Types::STRING, :name => 'authSessionId'},
767
+ REQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'request', :class => ::IdentityCredentialRequest}
768
+ }
769
+
770
+ def struct_fields; FIELDS; end
771
+
772
+ def validate
773
+ end
774
+
775
+ ::Thrift::Struct.generate_accessors self
776
+ end
777
+
778
+ class ResendIdentifierConfirmation_result
779
+ include ::Thrift::Struct, ::Thrift::Struct_Union
780
+ SUCCESS = 0
781
+ E = 1
782
+
783
+ FIELDS = {
784
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::IdentityCredentialResponse},
785
+ E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::TalkException}
786
+ }
787
+
788
+ def struct_fields; FIELDS; end
789
+
790
+ def validate
791
+ end
792
+
793
+ ::Thrift::Struct.generate_accessors self
794
+ end
795
+
796
+ class ConfirmIdentifier_args
797
+ include ::Thrift::Struct, ::Thrift::Struct_Union
798
+ AUTHSESSIONID = 2
799
+ REQUEST = 3
800
+
801
+ FIELDS = {
802
+ AUTHSESSIONID => {:type => ::Thrift::Types::STRING, :name => 'authSessionId'},
803
+ REQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'request', :class => ::IdentityCredentialRequest}
804
+ }
805
+
806
+ def struct_fields; FIELDS; end
807
+
808
+ def validate
809
+ end
810
+
811
+ ::Thrift::Struct.generate_accessors self
812
+ end
813
+
814
+ class ConfirmIdentifier_result
815
+ include ::Thrift::Struct, ::Thrift::Struct_Union
816
+ SUCCESS = 0
817
+ E = 1
818
+
819
+ FIELDS = {
820
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::IdentityCredentialResponse},
821
+ E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::TalkException}
822
+ }
823
+
824
+ def struct_fields; FIELDS; end
825
+
826
+ def validate
827
+ end
828
+
829
+ ::Thrift::Struct.generate_accessors self
830
+ end
831
+
832
+ class ExchangeKey_args
833
+ include ::Thrift::Struct, ::Thrift::Struct_Union
834
+ AUTHSESSIONID = 2
835
+ REQUEST = 3
836
+
837
+ FIELDS = {
838
+ AUTHSESSIONID => {:type => ::Thrift::Types::STRING, :name => 'authSessionId'},
839
+ REQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'request', :class => ::AuthKeyExchangeRequest}
840
+ }
841
+
842
+ def struct_fields; FIELDS; end
843
+
844
+ def validate
845
+ end
846
+
847
+ ::Thrift::Struct.generate_accessors self
848
+ end
849
+
850
+ class ExchangeKey_result
851
+ include ::Thrift::Struct, ::Thrift::Struct_Union
852
+ SUCCESS = 0
853
+ E = 1
854
+
855
+ FIELDS = {
856
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::AuthKeyExchangeResponse},
857
+ E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::TalkException}
858
+ }
859
+
860
+ def struct_fields; FIELDS; end
861
+
862
+ def validate
863
+ end
864
+
865
+ ::Thrift::Struct.generate_accessors self
866
+ end
867
+
868
+ class SetClovaCredential_args
869
+ include ::Thrift::Struct, ::Thrift::Struct_Union
870
+ AUTHSESSIONID = 2
871
+ REQUEST = 3
872
+
873
+ FIELDS = {
874
+ AUTHSESSIONID => {:type => ::Thrift::Types::STRING, :name => 'authSessionId'},
875
+ REQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'request', :class => ::AuthLoginRequest}
876
+ }
877
+
878
+ def struct_fields; FIELDS; end
879
+
880
+ def validate
881
+ end
882
+
883
+ ::Thrift::Struct.generate_accessors self
884
+ end
885
+
886
+ class SetClovaCredential_result
887
+ include ::Thrift::Struct, ::Thrift::Struct_Union
888
+ SUCCESS = 0
889
+ E = 1
890
+
891
+ FIELDS = {
892
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::AuthLoginResponse},
893
+ E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::TalkException}
894
+ }
895
+
896
+ def struct_fields; FIELDS; end
897
+
898
+ def validate
899
+ end
900
+
901
+ ::Thrift::Struct.generate_accessors self
902
+ end
903
+
904
+ end
905
+