Class: AuthService::Processor

Inherits:
Object
  • Object
show all
Includes:
Thrift::Processor
Defined in:
lib/linerb/gen-rb/auth_service.rb

Instance Method Summary collapse

Instance Method Details

#process_confirmIdentifier(seqid, iprot, oprot) ⇒ Object



363
364
365
366
367
368
369
370
371
372
# File 'lib/linerb/gen-rb/auth_service.rb', line 363

def process_confirmIdentifier(seqid, iprot, oprot)
  args = read_args(iprot, ConfirmIdentifier_args)
  result = ConfirmIdentifier_result.new()
  begin
    result.success = @handler.confirmIdentifier(args.authSessionId, args.request)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'confirmIdentifier', seqid)
end

#process_exchangeKey(seqid, iprot, oprot) ⇒ Object



374
375
376
377
378
379
380
381
382
383
# File 'lib/linerb/gen-rb/auth_service.rb', line 374

def process_exchangeKey(seqid, iprot, oprot)
  args = read_args(iprot, ExchangeKey_args)
  result = ExchangeKey_result.new()
  begin
    result.success = @handler.exchangeKey(args.authSessionId, args.request)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'exchangeKey', seqid)
end

#process_getAuthRSAKey(seqid, iprot, oprot) ⇒ Object



330
331
332
333
334
335
336
337
338
339
# File 'lib/linerb/gen-rb/auth_service.rb', line 330

def process_getAuthRSAKey(seqid, iprot, oprot)
  args = read_args(iprot, GetAuthRSAKey_args)
  result = GetAuthRSAKey_result.new()
  begin
    result.success = @handler.getAuthRSAKey(args.authSessionId, args.identityProvider)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'getAuthRSAKey', seqid)
end

#process_issueTokenForAccountMigration(seqid, iprot, oprot) ⇒ Object



297
298
299
300
301
302
303
304
305
306
# File 'lib/linerb/gen-rb/auth_service.rb', line 297

def process_issueTokenForAccountMigration(seqid, iprot, oprot)
  args = read_args(iprot, IssueTokenForAccountMigration_args)
  result = IssueTokenForAccountMigration_result.new()
  begin
    result.success = @handler.issueTokenForAccountMigration(args.migrationSessionId)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'issueTokenForAccountMigration', seqid)
end

#process_issueTokenForAccountMigrationSettings(seqid, iprot, oprot) ⇒ Object



308
309
310
311
312
313
314
315
316
317
# File 'lib/linerb/gen-rb/auth_service.rb', line 308

def process_issueTokenForAccountMigrationSettings(seqid, iprot, oprot)
  args = read_args(iprot, IssueTokenForAccountMigrationSettings_args)
  result = IssueTokenForAccountMigrationSettings_result.new()
  begin
    result.success = @handler.issueTokenForAccountMigrationSettings(args.enforce)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'issueTokenForAccountMigrationSettings', seqid)
end

#process_removeIdentifier(seqid, iprot, oprot) ⇒ Object



286
287
288
289
290
291
292
293
294
295
# File 'lib/linerb/gen-rb/auth_service.rb', line 286

def process_removeIdentifier(seqid, iprot, oprot)
  args = read_args(iprot, RemoveIdentifier_args)
  result = RemoveIdentifier_result.new()
  begin
    result.success = @handler.removeIdentifier(args.authSessionId, args.request)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'removeIdentifier', seqid)
end

#process_resendIdentifierConfirmation(seqid, iprot, oprot) ⇒ Object



352
353
354
355
356
357
358
359
360
361
# File 'lib/linerb/gen-rb/auth_service.rb', line 352

def process_resendIdentifierConfirmation(seqid, iprot, oprot)
  args = read_args(iprot, ResendIdentifierConfirmation_args)
  result = ResendIdentifierConfirmation_result.new()
  begin
    result.success = @handler.resendIdentifierConfirmation(args.authSessionId, args.request)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'resendIdentifierConfirmation', seqid)
end

#process_respondE2EELoginRequest(seqid, iprot, oprot) ⇒ Object



319
320
321
322
323
324
325
326
327
328
# File 'lib/linerb/gen-rb/auth_service.rb', line 319

def process_respondE2EELoginRequest(seqid, iprot, oprot)
  args = read_args(iprot, RespondE2EELoginRequest_args)
  result = RespondE2EELoginRequest_result.new()
  begin
    @handler.respondE2EELoginRequest(args.verifier, args.publicKey, args.encryptedKeyChain, args.hashKeyChain, args.errorCode)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'respondE2EELoginRequest', seqid)
end

#process_setClovaCredential(seqid, iprot, oprot) ⇒ Object



385
386
387
388
389
390
391
392
393
394
# File 'lib/linerb/gen-rb/auth_service.rb', line 385

def process_setClovaCredential(seqid, iprot, oprot)
  args = read_args(iprot, SetClovaCredential_args)
  result = SetClovaCredential_result.new()
  begin
    result.success = @handler.setClovaCredential(args.authSessionId, args.request)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'setClovaCredential', seqid)
end

#process_setIdentifier(seqid, iprot, oprot) ⇒ Object



341
342
343
344
345
346
347
348
349
350
# File 'lib/linerb/gen-rb/auth_service.rb', line 341

def process_setIdentifier(seqid, iprot, oprot)
  args = read_args(iprot, SetIdentifier_args)
  result = SetIdentifier_result.new()
  begin
    result.success = @handler.setIdentifier(args.authSessionId, args.request)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'setIdentifier', seqid)
end

#process_setIdentifierAndPassword(seqid, iprot, oprot) ⇒ Object



253
254
255
256
257
258
259
260
261
262
# File 'lib/linerb/gen-rb/auth_service.rb', line 253

def process_setIdentifierAndPassword(seqid, iprot, oprot)
  args = read_args(iprot, SetIdentifierAndPassword_args)
  result = SetIdentifierAndPassword_result.new()
  begin
    result.success = @handler.setIdentifierAndPassword(args.authSessionId, args.request)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'setIdentifierAndPassword', seqid)
end

#process_setPassword(seqid, iprot, oprot) ⇒ Object



242
243
244
245
246
247
248
249
250
251
# File 'lib/linerb/gen-rb/auth_service.rb', line 242

def process_setPassword(seqid, iprot, oprot)
  args = read_args(iprot, SetPassword_args)
  result = SetPassword_result.new()
  begin
    result.success = @handler.setPassword(args.authSessionId, args.encryptedPassword)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'setPassword', seqid)
end

#process_updateIdentifier(seqid, iprot, oprot) ⇒ Object



264
265
266
267
268
269
270
271
272
273
# File 'lib/linerb/gen-rb/auth_service.rb', line 264

def process_updateIdentifier(seqid, iprot, oprot)
  args = read_args(iprot, UpdateIdentifier_args)
  result = UpdateIdentifier_result.new()
  begin
    result.success = @handler.updateIdentifier(args.authSessionId, args.request)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'updateIdentifier', seqid)
end

#process_updatePassword(seqid, iprot, oprot) ⇒ Object



275
276
277
278
279
280
281
282
283
284
# File 'lib/linerb/gen-rb/auth_service.rb', line 275

def process_updatePassword(seqid, iprot, oprot)
  args = read_args(iprot, UpdatePassword_args)
  result = UpdatePassword_result.new()
  begin
    result.success = @handler.updatePassword(args.authSessionId, args.request)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'updatePassword', seqid)
end