Class: PrimaryAccountInitService::Processor
- Inherits:
-
Object
- Object
- PrimaryAccountInitService::Processor
- Includes:
- Thrift::Processor
- Defined in:
- lib/linerb/gen-rb/primary_account_init_service.rb
Instance Method Summary collapse
- #process_exchangeEncryptionKey(seqid, iprot, oprot) ⇒ Object
- #process_getAcctVerifMethod(seqid, iprot, oprot) ⇒ Object
- #process_getCountryInfo(seqid, iprot, oprot) ⇒ Object
- #process_getPhoneVerifMethod(seqid, iprot, oprot) ⇒ Object
- #process_getSecondAuthMethod(seqid, iprot, oprot) ⇒ Object
- #process_getUserProfile(seqid, iprot, oprot) ⇒ Object
- #process_issueWebAuthDetailsForAcctVerif(seqid, iprot, oprot) ⇒ Object
- #process_issueWebAuthDetailsForSecondAuth(seqid, iprot, oprot) ⇒ Object
- #process_migratePrimaryUsingPhone(seqid, iprot, oprot) ⇒ Object
- #process_migratePrimaryUsingSocialLogin(seqid, iprot, oprot) ⇒ Object
- #process_openSession(seqid, iprot, oprot) ⇒ Object
- #process_registerPrimaryUsingPhone(seqid, iprot, oprot) ⇒ Object
- #process_registerPrimaryUsingSocialLogin(seqid, iprot, oprot) ⇒ Object
- #process_sendPinCodeForPhone(seqid, iprot, oprot) ⇒ Object
- #process_setPassword(seqid, iprot, oprot) ⇒ Object
- #process_validateProfile(seqid, iprot, oprot) ⇒ Object
- #process_verifyAccountUsingPwd(seqid, iprot, oprot) ⇒ Object
- #process_verifyPhone(seqid, iprot, oprot) ⇒ Object
- #process_verifySocialLogin(seqid, iprot, oprot) ⇒ Object
Instance Method Details
#process_exchangeEncryptionKey(seqid, iprot, oprot) ⇒ Object
323 324 325 326 327 328 329 330 331 332 |
# File 'lib/linerb/gen-rb/primary_account_init_service.rb', line 323 def process_exchangeEncryptionKey(seqid, iprot, oprot) args = read_args(iprot, ExchangeEncryptionKey_args) result = ExchangeEncryptionKey_result.new() begin result.success = @handler.exchangeEncryptionKey(args.authSessionId, args.request) rescue ::AuthException => e result.e = e end write_result(result, oprot, 'exchangeEncryptionKey', seqid) end |
#process_getAcctVerifMethod(seqid, iprot, oprot) ⇒ Object
334 335 336 337 338 339 340 341 342 343 |
# File 'lib/linerb/gen-rb/primary_account_init_service.rb', line 334 def process_getAcctVerifMethod(seqid, iprot, oprot) args = read_args(iprot, GetAcctVerifMethod_args) result = GetAcctVerifMethod_result.new() begin result.success = @handler.getAcctVerifMethod(args.authSessionId, args.accountIdentifier) rescue ::AuthException => e result.e = e end write_result(result, oprot, 'getAcctVerifMethod', seqid) end |
#process_getCountryInfo(seqid, iprot, oprot) ⇒ Object
345 346 347 348 349 350 351 352 353 354 |
# File 'lib/linerb/gen-rb/primary_account_init_service.rb', line 345 def process_getCountryInfo(seqid, iprot, oprot) args = read_args(iprot, GetCountryInfo_args) result = GetCountryInfo_result.new() begin result.success = @handler.getCountryInfo(args.authSessionId, args.simCard) rescue ::AuthException => e result.e = e end write_result(result, oprot, 'getCountryInfo', seqid) end |
#process_getPhoneVerifMethod(seqid, iprot, oprot) ⇒ Object
356 357 358 359 360 361 362 363 364 365 |
# File 'lib/linerb/gen-rb/primary_account_init_service.rb', line 356 def process_getPhoneVerifMethod(seqid, iprot, oprot) args = read_args(iprot, GetPhoneVerifMethod_args) result = GetPhoneVerifMethod_result.new() begin result.success = @handler.getPhoneVerifMethod(args.authSessionId, args.device, args.userPhoneNumber) rescue ::AuthException => e result.e = e end write_result(result, oprot, 'getPhoneVerifMethod', seqid) end |
#process_getSecondAuthMethod(seqid, iprot, oprot) ⇒ Object
367 368 369 370 371 372 373 374 375 376 |
# File 'lib/linerb/gen-rb/primary_account_init_service.rb', line 367 def process_getSecondAuthMethod(seqid, iprot, oprot) args = read_args(iprot, GetSecondAuthMethod_args) result = GetSecondAuthMethod_result.new() begin result.success = @handler.getSecondAuthMethod(args.authSessionId) rescue ::AuthException => e result.e = e end write_result(result, oprot, 'getSecondAuthMethod', seqid) end |
#process_getUserProfile(seqid, iprot, oprot) ⇒ Object
378 379 380 381 382 383 384 385 386 387 |
# File 'lib/linerb/gen-rb/primary_account_init_service.rb', line 378 def process_getUserProfile(seqid, iprot, oprot) args = read_args(iprot, GetUserProfile_args) result = GetUserProfile_result.new() begin result.success = @handler.getUserProfile(args.authSessionId, args.accountIdentifier) rescue ::AuthException => e result.e = e end write_result(result, oprot, 'getUserProfile', seqid) end |
#process_issueWebAuthDetailsForAcctVerif(seqid, iprot, oprot) ⇒ Object
389 390 391 392 393 394 395 396 397 398 |
# File 'lib/linerb/gen-rb/primary_account_init_service.rb', line 389 def process_issueWebAuthDetailsForAcctVerif(seqid, iprot, oprot) args = read_args(iprot, IssueWebAuthDetailsForAcctVerif_args) result = IssueWebAuthDetailsForAcctVerif_result.new() begin result.success = @handler.issueWebAuthDetailsForAcctVerif(args.authSessionId, args.accountIdentifier) rescue ::AuthException => e result.e = e end write_result(result, oprot, 'issueWebAuthDetailsForAcctVerif', seqid) end |
#process_issueWebAuthDetailsForSecondAuth(seqid, iprot, oprot) ⇒ Object
400 401 402 403 404 405 406 407 408 409 |
# File 'lib/linerb/gen-rb/primary_account_init_service.rb', line 400 def process_issueWebAuthDetailsForSecondAuth(seqid, iprot, oprot) args = read_args(iprot, IssueWebAuthDetailsForSecondAuth_args) result = IssueWebAuthDetailsForSecondAuth_result.new() begin result.success = @handler.issueWebAuthDetailsForSecondAuth(args.authSessionId) rescue ::AuthException => e result.e = e end write_result(result, oprot, 'issueWebAuthDetailsForSecondAuth', seqid) end |
#process_migratePrimaryUsingPhone(seqid, iprot, oprot) ⇒ Object
411 412 413 414 415 416 417 418 419 420 |
# File 'lib/linerb/gen-rb/primary_account_init_service.rb', line 411 def process_migratePrimaryUsingPhone(seqid, iprot, oprot) args = read_args(iprot, MigratePrimaryUsingPhone_args) result = MigratePrimaryUsingPhone_result.new() begin result.success = @handler.migratePrimaryUsingPhone(args.authSessionId) rescue ::AuthException => e result.e = e end write_result(result, oprot, 'migratePrimaryUsingPhone', seqid) end |
#process_migratePrimaryUsingSocialLogin(seqid, iprot, oprot) ⇒ Object
422 423 424 425 426 427 428 429 430 431 |
# File 'lib/linerb/gen-rb/primary_account_init_service.rb', line 422 def process_migratePrimaryUsingSocialLogin(seqid, iprot, oprot) args = read_args(iprot, MigratePrimaryUsingSocialLogin_args) result = MigratePrimaryUsingSocialLogin_result.new() begin result.success = @handler.migratePrimaryUsingSocialLogin(args.authSessionId) rescue ::AuthException => e result.e = e end write_result(result, oprot, 'migratePrimaryUsingSocialLogin', seqid) end |
#process_openSession(seqid, iprot, oprot) ⇒ Object
433 434 435 436 437 438 439 440 441 442 |
# File 'lib/linerb/gen-rb/primary_account_init_service.rb', line 433 def process_openSession(seqid, iprot, oprot) args = read_args(iprot, OpenSession_args) result = OpenSession_result.new() begin result.success = @handler.openSession(args.request) rescue ::AuthException => e result.e = e end write_result(result, oprot, 'openSession', seqid) end |
#process_registerPrimaryUsingPhone(seqid, iprot, oprot) ⇒ Object
444 445 446 447 448 449 450 451 452 453 |
# File 'lib/linerb/gen-rb/primary_account_init_service.rb', line 444 def process_registerPrimaryUsingPhone(seqid, iprot, oprot) args = read_args(iprot, RegisterPrimaryUsingPhone_args) result = RegisterPrimaryUsingPhone_result.new() begin result.success = @handler.registerPrimaryUsingPhone(args.authSessionId) rescue ::AuthException => e result.e = e end write_result(result, oprot, 'registerPrimaryUsingPhone', seqid) end |
#process_registerPrimaryUsingSocialLogin(seqid, iprot, oprot) ⇒ Object
455 456 457 458 459 460 461 462 463 464 |
# File 'lib/linerb/gen-rb/primary_account_init_service.rb', line 455 def process_registerPrimaryUsingSocialLogin(seqid, iprot, oprot) args = read_args(iprot, RegisterPrimaryUsingSocialLogin_args) result = RegisterPrimaryUsingSocialLogin_result.new() begin result.success = @handler.registerPrimaryUsingSocialLogin(args.authSessionId) rescue ::AuthException => e result.e = e end write_result(result, oprot, 'registerPrimaryUsingSocialLogin', seqid) end |
#process_sendPinCodeForPhone(seqid, iprot, oprot) ⇒ Object
466 467 468 469 470 471 472 473 474 475 |
# File 'lib/linerb/gen-rb/primary_account_init_service.rb', line 466 def process_sendPinCodeForPhone(seqid, iprot, oprot) args = read_args(iprot, SendPinCodeForPhone_args) result = SendPinCodeForPhone_result.new() begin result.success = @handler.sendPinCodeForPhone(args.authSessionId, args.device, args.userPhoneNumber, args.verifMethod) rescue ::AuthException => e result.e = e end write_result(result, oprot, 'sendPinCodeForPhone', seqid) end |
#process_setPassword(seqid, iprot, oprot) ⇒ Object
477 478 479 480 481 482 483 484 485 486 |
# File 'lib/linerb/gen-rb/primary_account_init_service.rb', line 477 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_validateProfile(seqid, iprot, oprot) ⇒ Object
488 489 490 491 492 493 494 495 496 497 |
# File 'lib/linerb/gen-rb/primary_account_init_service.rb', line 488 def process_validateProfile(seqid, iprot, oprot) args = read_args(iprot, ValidateProfile_args) result = ValidateProfile_result.new() begin result.success = @handler.validateProfile(args.authSessionId, args.displayName) rescue ::AuthException => e result.e = e end write_result(result, oprot, 'validateProfile', seqid) end |
#process_verifyAccountUsingPwd(seqid, iprot, oprot) ⇒ Object
499 500 501 502 503 504 505 506 507 508 |
# File 'lib/linerb/gen-rb/primary_account_init_service.rb', line 499 def process_verifyAccountUsingPwd(seqid, iprot, oprot) args = read_args(iprot, VerifyAccountUsingPwd_args) result = VerifyAccountUsingPwd_result.new() begin result.success = @handler.verifyAccountUsingPwd(args.authSessionId, args.accountIdentifier, args.encryptedPassword) rescue ::AuthException => e result.e = e end write_result(result, oprot, 'verifyAccountUsingPwd', seqid) end |
#process_verifyPhone(seqid, iprot, oprot) ⇒ Object
510 511 512 513 514 515 516 517 518 519 |
# File 'lib/linerb/gen-rb/primary_account_init_service.rb', line 510 def process_verifyPhone(seqid, iprot, oprot) args = read_args(iprot, VerifyPhone_args) result = VerifyPhone_result.new() begin result.success = @handler.verifyPhone(args.authSessionId, args.device, args.userPhoneNumber, args.pinCode) rescue ::AuthException => e result.e = e end write_result(result, oprot, 'verifyPhone', seqid) end |
#process_verifySocialLogin(seqid, iprot, oprot) ⇒ Object
521 522 523 524 525 526 527 528 529 530 |
# File 'lib/linerb/gen-rb/primary_account_init_service.rb', line 521 def process_verifySocialLogin(seqid, iprot, oprot) args = read_args(iprot, VerifySocialLogin_args) result = VerifySocialLogin_result.new() begin result.success = @handler.verifySocialLogin(args.authSessionId, args.device, args.) rescue ::AuthException => e result.e = e end write_result(result, oprot, 'verifySocialLogin', seqid) end |