class PrimaryAccountInitService::Processor

Public Instance Methods

process_exchangeEncryptionKey(seqid, iprot, oprot) click to toggle source
# 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) click to toggle source
# 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) click to toggle source
# 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) click to toggle source
# 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) click to toggle source
# 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) click to toggle source
# 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) click to toggle source
# 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) click to toggle source
# 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) click to toggle source
# 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) click to toggle source
# 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) click to toggle source
# 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) click to toggle source
# 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) click to toggle source
# 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) click to toggle source
# 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) click to toggle source
# 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) click to toggle source
# 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) click to toggle source
# 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) click to toggle source
# 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) click to toggle source
# 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.socialLogin)
  rescue ::AuthException => e
    result.e = e
  end
  write_result(result, oprot, 'verifySocialLogin', seqid)
end