Class: PrimaryAccountInitService::Client

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

Instance Method Summary collapse

Instance Method Details

#exchangeEncryptionKey(authSessionId, request) ⇒ Object



14
15
16
17
# 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) ⇒ Object



30
31
32
33
# 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) ⇒ Object



46
47
48
49
# 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) ⇒ Object



62
63
64
65
# 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) ⇒ Object



78
79
80
81
# 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) ⇒ Object



94
95
96
97
# 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) ⇒ Object



110
111
112
113
# 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) ⇒ Object



126
127
128
129
# File 'lib/linerb/gen-rb/primary_account_init_service.rb', line 126

def issueWebAuthDetailsForSecondAuth(authSessionId)
  send_issueWebAuthDetailsForSecondAuth(authSessionId)
  return recv_issueWebAuthDetailsForSecondAuth()
end

#migratePrimaryUsingPhone(authSessionId) ⇒ Object



142
143
144
145
# File 'lib/linerb/gen-rb/primary_account_init_service.rb', line 142

def migratePrimaryUsingPhone(authSessionId)
  send_migratePrimaryUsingPhone(authSessionId)
  return recv_migratePrimaryUsingPhone()
end

#migratePrimaryUsingSocialLogin(authSessionId) ⇒ Object



158
159
160
161
# File 'lib/linerb/gen-rb/primary_account_init_service.rb', line 158

def migratePrimaryUsingSocialLogin(authSessionId)
  send_migratePrimaryUsingSocialLogin(authSessionId)
  return recv_migratePrimaryUsingSocialLogin()
end

#openSession(request) ⇒ Object



174
175
176
177
# File 'lib/linerb/gen-rb/primary_account_init_service.rb', line 174

def openSession(request)
  send_openSession(request)
  return recv_openSession()
end

#recv_exchangeEncryptionKeyObject

Raises:

  • (::Thrift::ApplicationException)


23
24
25
26
27
28
# 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_getAcctVerifMethodObject

Raises:

  • (::Thrift::ApplicationException)


39
40
41
42
43
44
# 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_getCountryInfoObject

Raises:

  • (::Thrift::ApplicationException)


55
56
57
58
59
60
# 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_getPhoneVerifMethodObject

Raises:

  • (::Thrift::ApplicationException)


71
72
73
74
75
76
# 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_getSecondAuthMethodObject

Raises:

  • (::Thrift::ApplicationException)


87
88
89
90
91
92
# 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_getUserProfileObject

Raises:

  • (::Thrift::ApplicationException)


103
104
105
106
107
108
# 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_issueWebAuthDetailsForAcctVerifObject

Raises:

  • (::Thrift::ApplicationException)


119
120
121
122
123
124
# 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_issueWebAuthDetailsForSecondAuthObject

Raises:

  • (::Thrift::ApplicationException)


135
136
137
138
139
140
# 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_migratePrimaryUsingPhoneObject

Raises:

  • (::Thrift::ApplicationException)


151
152
153
154
155
156
# 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_migratePrimaryUsingSocialLoginObject

Raises:

  • (::Thrift::ApplicationException)


167
168
169
170
171
172
# 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_openSessionObject

Raises:

  • (::Thrift::ApplicationException)


183
184
185
186
187
188
# 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_registerPrimaryUsingPhoneObject

Raises:

  • (::Thrift::ApplicationException)


199
200
201
202
203
204
# 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_registerPrimaryUsingSocialLoginObject

Raises:

  • (::Thrift::ApplicationException)


215
216
217
218
219
220
# 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_sendPinCodeForPhoneObject

Raises:

  • (::Thrift::ApplicationException)


231
232
233
234
235
236
# 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_setPasswordObject

Raises:

  • (::Thrift::ApplicationException)


247
248
249
250
251
252
# 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_validateProfileObject

Raises:

  • (::Thrift::ApplicationException)


263
264
265
266
267
268
# 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_verifyAccountUsingPwdObject

Raises:

  • (::Thrift::ApplicationException)


279
280
281
282
283
284
# 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_verifyPhoneObject

Raises:

  • (::Thrift::ApplicationException)


295
296
297
298
299
300
# 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_verifySocialLoginObject

Raises:

  • (::Thrift::ApplicationException)


311
312
313
314
315
316
# 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) ⇒ Object



190
191
192
193
# File 'lib/linerb/gen-rb/primary_account_init_service.rb', line 190

def registerPrimaryUsingPhone(authSessionId)
  send_registerPrimaryUsingPhone(authSessionId)
  return recv_registerPrimaryUsingPhone()
end

#registerPrimaryUsingSocialLogin(authSessionId) ⇒ Object



206
207
208
209
# File 'lib/linerb/gen-rb/primary_account_init_service.rb', line 206

def registerPrimaryUsingSocialLogin(authSessionId)
  send_registerPrimaryUsingSocialLogin(authSessionId)
  return recv_registerPrimaryUsingSocialLogin()
end

#send_exchangeEncryptionKey(authSessionId, request) ⇒ Object



19
20
21
# 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) ⇒ Object



35
36
37
# 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) ⇒ Object



51
52
53
# 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) ⇒ Object



67
68
69
# 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) ⇒ Object



83
84
85
# 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) ⇒ Object



99
100
101
# 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) ⇒ Object



115
116
117
# 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) ⇒ Object



131
132
133
# 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) ⇒ Object



147
148
149
# 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) ⇒ Object



163
164
165
# 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) ⇒ Object



179
180
181
# 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) ⇒ Object



195
196
197
# 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) ⇒ Object



211
212
213
# 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) ⇒ Object



227
228
229
# 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) ⇒ Object



243
244
245
# 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) ⇒ Object



259
260
261
# 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) ⇒ Object



275
276
277
# 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) ⇒ Object



291
292
293
# 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) ⇒ Object



307
308
309
# 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

#sendPinCodeForPhone(authSessionId, device, userPhoneNumber, verifMethod) ⇒ Object



222
223
224
225
# 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

#setPassword(authSessionId, encryptedPassword) ⇒ Object



238
239
240
241
# 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) ⇒ Object



254
255
256
257
# 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) ⇒ Object



270
271
272
273
# 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) ⇒ Object



286
287
288
289
# 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) ⇒ Object



302
303
304
305
# 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