class PrimaryAccountInitService::Client
Public Instance Methods
exchangeEncryptionKey(authSessionId, request)
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 14 def exchangeEncryptionKey(authSessionId, request) send_exchangeEncryptionKey(authSessionId, request) return recv_exchangeEncryptionKey() end
getAcctVerifMethod(authSessionId, accountIdentifier)
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 30 def getAcctVerifMethod(authSessionId, accountIdentifier) send_getAcctVerifMethod(authSessionId, accountIdentifier) return recv_getAcctVerifMethod() end
getCountryInfo(authSessionId, simCard)
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 46 def getCountryInfo(authSessionId, simCard) send_getCountryInfo(authSessionId, simCard) return recv_getCountryInfo() end
getPhoneVerifMethod(authSessionId, device, userPhoneNumber)
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 62 def getPhoneVerifMethod(authSessionId, device, userPhoneNumber) send_getPhoneVerifMethod(authSessionId, device, userPhoneNumber) return recv_getPhoneVerifMethod() end
getSecondAuthMethod(authSessionId)
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 78 def getSecondAuthMethod(authSessionId) send_getSecondAuthMethod(authSessionId) return recv_getSecondAuthMethod() end
getUserProfile(authSessionId, accountIdentifier)
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 94 def getUserProfile(authSessionId, accountIdentifier) send_getUserProfile(authSessionId, accountIdentifier) return recv_getUserProfile() end
issueWebAuthDetailsForAcctVerif(authSessionId, accountIdentifier)
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 110 def issueWebAuthDetailsForAcctVerif(authSessionId, accountIdentifier) send_issueWebAuthDetailsForAcctVerif(authSessionId, accountIdentifier) return recv_issueWebAuthDetailsForAcctVerif() end
issueWebAuthDetailsForSecondAuth(authSessionId)
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 126 def issueWebAuthDetailsForSecondAuth(authSessionId) send_issueWebAuthDetailsForSecondAuth(authSessionId) return recv_issueWebAuthDetailsForSecondAuth() end
migratePrimaryUsingPhone(authSessionId)
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 142 def migratePrimaryUsingPhone(authSessionId) send_migratePrimaryUsingPhone(authSessionId) return recv_migratePrimaryUsingPhone() end
migratePrimaryUsingSocialLogin(authSessionId)
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 158 def migratePrimaryUsingSocialLogin(authSessionId) send_migratePrimaryUsingSocialLogin(authSessionId) return recv_migratePrimaryUsingSocialLogin() end
openSession(request)
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 174 def openSession(request) send_openSession(request) return recv_openSession() end
recv_exchangeEncryptionKey()
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 23 def recv_exchangeEncryptionKey() result = receive_message(ExchangeEncryptionKey_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'exchangeEncryptionKey failed: unknown result') end
recv_getAcctVerifMethod()
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 39 def recv_getAcctVerifMethod() result = receive_message(GetAcctVerifMethod_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getAcctVerifMethod failed: unknown result') end
recv_getCountryInfo()
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 55 def recv_getCountryInfo() result = receive_message(GetCountryInfo_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getCountryInfo failed: unknown result') end
recv_getPhoneVerifMethod()
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 71 def recv_getPhoneVerifMethod() result = receive_message(GetPhoneVerifMethod_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getPhoneVerifMethod failed: unknown result') end
recv_getSecondAuthMethod()
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 87 def recv_getSecondAuthMethod() result = receive_message(GetSecondAuthMethod_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getSecondAuthMethod failed: unknown result') end
recv_getUserProfile()
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 103 def recv_getUserProfile() result = receive_message(GetUserProfile_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getUserProfile failed: unknown result') end
recv_issueWebAuthDetailsForAcctVerif()
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 119 def recv_issueWebAuthDetailsForAcctVerif() result = receive_message(IssueWebAuthDetailsForAcctVerif_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'issueWebAuthDetailsForAcctVerif failed: unknown result') end
recv_issueWebAuthDetailsForSecondAuth()
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 135 def recv_issueWebAuthDetailsForSecondAuth() result = receive_message(IssueWebAuthDetailsForSecondAuth_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'issueWebAuthDetailsForSecondAuth failed: unknown result') end
recv_migratePrimaryUsingPhone()
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 151 def recv_migratePrimaryUsingPhone() result = receive_message(MigratePrimaryUsingPhone_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'migratePrimaryUsingPhone failed: unknown result') end
recv_migratePrimaryUsingSocialLogin()
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 167 def recv_migratePrimaryUsingSocialLogin() result = receive_message(MigratePrimaryUsingSocialLogin_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'migratePrimaryUsingSocialLogin failed: unknown result') end
recv_openSession()
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 183 def recv_openSession() result = receive_message(OpenSession_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'openSession failed: unknown result') end
recv_registerPrimaryUsingPhone()
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 199 def recv_registerPrimaryUsingPhone() result = receive_message(RegisterPrimaryUsingPhone_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'registerPrimaryUsingPhone failed: unknown result') end
recv_registerPrimaryUsingSocialLogin()
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 215 def recv_registerPrimaryUsingSocialLogin() result = receive_message(RegisterPrimaryUsingSocialLogin_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'registerPrimaryUsingSocialLogin failed: unknown result') end
recv_sendPinCodeForPhone()
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 231 def recv_sendPinCodeForPhone() result = receive_message(SendPinCodeForPhone_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'sendPinCodeForPhone failed: unknown result') end
recv_setPassword()
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 247 def recv_setPassword() result = receive_message(SetPassword_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'setPassword failed: unknown result') end
recv_validateProfile()
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 263 def recv_validateProfile() result = receive_message(ValidateProfile_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'validateProfile failed: unknown result') end
recv_verifyAccountUsingPwd()
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 279 def recv_verifyAccountUsingPwd() result = receive_message(VerifyAccountUsingPwd_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'verifyAccountUsingPwd failed: unknown result') end
recv_verifyPhone()
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 295 def recv_verifyPhone() result = receive_message(VerifyPhone_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'verifyPhone failed: unknown result') end
recv_verifySocialLogin()
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 311 def recv_verifySocialLogin() result = receive_message(VerifySocialLogin_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'verifySocialLogin failed: unknown result') end
registerPrimaryUsingPhone(authSessionId)
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 190 def registerPrimaryUsingPhone(authSessionId) send_registerPrimaryUsingPhone(authSessionId) return recv_registerPrimaryUsingPhone() end
registerPrimaryUsingSocialLogin(authSessionId)
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 206 def registerPrimaryUsingSocialLogin(authSessionId) send_registerPrimaryUsingSocialLogin(authSessionId) return recv_registerPrimaryUsingSocialLogin() end
sendPinCodeForPhone(authSessionId, device, userPhoneNumber, verifMethod)
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 222 def sendPinCodeForPhone(authSessionId, device, userPhoneNumber, verifMethod) send_sendPinCodeForPhone(authSessionId, device, userPhoneNumber, verifMethod) return recv_sendPinCodeForPhone() end
send_exchangeEncryptionKey(authSessionId, request)
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 19 def send_exchangeEncryptionKey(authSessionId, request) send_message('exchangeEncryptionKey', ExchangeEncryptionKey_args, :authSessionId => authSessionId, :request => request) end
send_getAcctVerifMethod(authSessionId, accountIdentifier)
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 35 def send_getAcctVerifMethod(authSessionId, accountIdentifier) send_message('getAcctVerifMethod', GetAcctVerifMethod_args, :authSessionId => authSessionId, :accountIdentifier => accountIdentifier) end
send_getCountryInfo(authSessionId, simCard)
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 51 def send_getCountryInfo(authSessionId, simCard) send_message('getCountryInfo', GetCountryInfo_args, :authSessionId => authSessionId, :simCard => simCard) end
send_getPhoneVerifMethod(authSessionId, device, userPhoneNumber)
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 67 def send_getPhoneVerifMethod(authSessionId, device, userPhoneNumber) send_message('getPhoneVerifMethod', GetPhoneVerifMethod_args, :authSessionId => authSessionId, :device => device, :userPhoneNumber => userPhoneNumber) end
send_getSecondAuthMethod(authSessionId)
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 83 def send_getSecondAuthMethod(authSessionId) send_message('getSecondAuthMethod', GetSecondAuthMethod_args, :authSessionId => authSessionId) end
send_getUserProfile(authSessionId, accountIdentifier)
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 99 def send_getUserProfile(authSessionId, accountIdentifier) send_message('getUserProfile', GetUserProfile_args, :authSessionId => authSessionId, :accountIdentifier => accountIdentifier) end
send_issueWebAuthDetailsForAcctVerif(authSessionId, accountIdentifier)
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 115 def send_issueWebAuthDetailsForAcctVerif(authSessionId, accountIdentifier) send_message('issueWebAuthDetailsForAcctVerif', IssueWebAuthDetailsForAcctVerif_args, :authSessionId => authSessionId, :accountIdentifier => accountIdentifier) end
send_issueWebAuthDetailsForSecondAuth(authSessionId)
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 131 def send_issueWebAuthDetailsForSecondAuth(authSessionId) send_message('issueWebAuthDetailsForSecondAuth', IssueWebAuthDetailsForSecondAuth_args, :authSessionId => authSessionId) end
send_migratePrimaryUsingPhone(authSessionId)
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 147 def send_migratePrimaryUsingPhone(authSessionId) send_message('migratePrimaryUsingPhone', MigratePrimaryUsingPhone_args, :authSessionId => authSessionId) end
send_migratePrimaryUsingSocialLogin(authSessionId)
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 163 def send_migratePrimaryUsingSocialLogin(authSessionId) send_message('migratePrimaryUsingSocialLogin', MigratePrimaryUsingSocialLogin_args, :authSessionId => authSessionId) end
send_openSession(request)
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 179 def send_openSession(request) send_message('openSession', OpenSession_args, :request => request) end
send_registerPrimaryUsingPhone(authSessionId)
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 195 def send_registerPrimaryUsingPhone(authSessionId) send_message('registerPrimaryUsingPhone', RegisterPrimaryUsingPhone_args, :authSessionId => authSessionId) end
send_registerPrimaryUsingSocialLogin(authSessionId)
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 211 def send_registerPrimaryUsingSocialLogin(authSessionId) send_message('registerPrimaryUsingSocialLogin', RegisterPrimaryUsingSocialLogin_args, :authSessionId => authSessionId) end
send_sendPinCodeForPhone(authSessionId, device, userPhoneNumber, verifMethod)
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 227 def send_sendPinCodeForPhone(authSessionId, device, userPhoneNumber, verifMethod) send_message('sendPinCodeForPhone', SendPinCodeForPhone_args, :authSessionId => authSessionId, :device => device, :userPhoneNumber => userPhoneNumber, :verifMethod => verifMethod) end
send_setPassword(authSessionId, encryptedPassword)
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 243 def send_setPassword(authSessionId, encryptedPassword) send_message('setPassword', SetPassword_args, :authSessionId => authSessionId, :encryptedPassword => encryptedPassword) end
send_validateProfile(authSessionId, displayName)
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 259 def send_validateProfile(authSessionId, displayName) send_message('validateProfile', ValidateProfile_args, :authSessionId => authSessionId, :displayName => displayName) end
send_verifyAccountUsingPwd(authSessionId, accountIdentifier, encryptedPassword)
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 275 def send_verifyAccountUsingPwd(authSessionId, accountIdentifier, encryptedPassword) send_message('verifyAccountUsingPwd', VerifyAccountUsingPwd_args, :authSessionId => authSessionId, :accountIdentifier => accountIdentifier, :encryptedPassword => encryptedPassword) end
send_verifyPhone(authSessionId, device, userPhoneNumber, pinCode)
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 291 def send_verifyPhone(authSessionId, device, userPhoneNumber, pinCode) send_message('verifyPhone', VerifyPhone_args, :authSessionId => authSessionId, :device => device, :userPhoneNumber => userPhoneNumber, :pinCode => pinCode) end
send_verifySocialLogin(authSessionId, device, socialLogin)
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 307 def send_verifySocialLogin(authSessionId, device, socialLogin) send_message('verifySocialLogin', VerifySocialLogin_args, :authSessionId => authSessionId, :device => device, :socialLogin => socialLogin) end
setPassword(authSessionId, encryptedPassword)
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 238 def setPassword(authSessionId, encryptedPassword) send_setPassword(authSessionId, encryptedPassword) return recv_setPassword() end
validateProfile(authSessionId, displayName)
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 254 def validateProfile(authSessionId, displayName) send_validateProfile(authSessionId, displayName) return recv_validateProfile() end
verifyAccountUsingPwd(authSessionId, accountIdentifier, encryptedPassword)
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 270 def verifyAccountUsingPwd(authSessionId, accountIdentifier, encryptedPassword) send_verifyAccountUsingPwd(authSessionId, accountIdentifier, encryptedPassword) return recv_verifyAccountUsingPwd() end
verifyPhone(authSessionId, device, userPhoneNumber, pinCode)
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 286 def verifyPhone(authSessionId, device, userPhoneNumber, pinCode) send_verifyPhone(authSessionId, device, userPhoneNumber, pinCode) return recv_verifyPhone() end
verifySocialLogin(authSessionId, device, socialLogin)
click to toggle source
# File lib/linerb/gen-rb/primary_account_init_service.rb, line 302 def verifySocialLogin(authSessionId, device, socialLogin) send_verifySocialLogin(authSessionId, device, socialLogin) return recv_verifySocialLogin() end