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



358
359
360
361
362
363
364
365
366
367
# File 'lib/linerb/gen-rb/auth_service.rb', line 358

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



369
370
371
372
373
374
375
376
377
378
# File 'lib/linerb/gen-rb/auth_service.rb', line 369

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



325
326
327
328
329
330
331
332
333
334
# File 'lib/linerb/gen-rb/auth_service.rb', line 325

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



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

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



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

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



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

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



347
348
349
350
351
352
353
354
355
356
# File 'lib/linerb/gen-rb/auth_service.rb', line 347

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



318
319
320
321
322
323
# File 'lib/linerb/gen-rb/auth_service.rb', line 318

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

#process_setClovaCredential(seqid, iprot, oprot) ⇒ Object



380
381
382
383
384
385
386
387
388
389
# File 'lib/linerb/gen-rb/auth_service.rb', line 380

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



336
337
338
339
340
341
342
343
344
345
# File 'lib/linerb/gen-rb/auth_service.rb', line 336

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



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

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



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

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



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

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



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

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