Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

WCF


Code Block
languagec#
title Method
public AuthServerResponse ActiveDevice(string authServerPartnerLoginName, 
                 string authServerPartnerLoginPassword, 
                 string authServerPartnerUserLoginName, 
                 string otp1,
                 string otp2,
                 string printedSerialNumber)

...

WCF parameterdata typedescription
authServerPartnerLoginNamestringSurePassId SurePassID account login name
authServerPartnerLoginPasswordstringSurePassId SurePassID account login key
authServerPartnerUserLoginNamestringUser account login name
otp1stringotp from the device to be activated
otp2stringsecond otp from the deviceĀ  to be activated
printedSerialNumberstringSerial number of the device

...

Code Block
languagec#
titleSample WCF C# Repsonse
 if (resp.ErrorCode != 0)  {      
       message.Text = resp.ErrorMsg;
       return false;
 }


REST


REST parameterdata typedescription
spAccountLoginNamestringSurePassId SurePassID account login name
spAccountLoginKeystringSurePassId SurePassID account login key
usernamestringuser account login name
typestringactive_oath_device
otp1intotp from the device to be activated
otp2intsecond otp from the deviceĀ  to be activated
psnstringSerial number of the device

...