WCF
Code Block | ||||
---|---|---|---|---|
| ||||
public AuthServerResponse ActiveDevice(string authServerPartnerLoginName, string authServerPartnerLoginPassword, string authServerPartnerUserLoginName, string otp1, string otp2, string printedSerialNumber) |
...
WCF parameter | data type | description |
---|---|---|
authServerPartnerLoginName | string | SurePassId SurePassID account login name |
authServerPartnerLoginPassword | string | SurePassId SurePassID account login key |
authServerPartnerUserLoginName | string | User account login name |
otp1 | string | otp from the device to be activated |
otp2 | string | second otp from the deviceĀ to be activated |
printedSerialNumber | string | Serial number of the device |
...
Code Block | ||||
---|---|---|---|---|
| ||||
if (resp.ErrorCode != 0) { message.Text = resp.ErrorMsg; return false; } |
REST
REST parameter | data type | description |
---|---|---|
spAccountLoginName | string | SurePassId SurePassID account login name |
spAccountLoginKey | string | SurePassId SurePassID account login key |
username | string | user account login name |
type | string | active_oath_device |
otp1 | int | otp from the device to be activated |
otp2 | int | second otp from the deviceĀ to be activated |
psn | string | Serial number of the device |
...