/
Synchronize OATH Device
Synchronize OATH Device
WCF
Method
public AuthServerResponse SynchronizeDevice(string authServerPartnerLoginName, string authServerPartnerLoginPassword, string authServerPartnerUserLoginName, string otp1, string otp2, string printedSerialNumber)
WCF parameter | data type | description |
---|---|---|
authServerPartnerLoginName | string | SurePassID account login name |
authServerPartnerLoginPassword | string | 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 |
Sample WCF C# Method
AuthServerResponseresp = SynchronizeDevice("accountLogin", "accountKey", "Mandy", "123456", "789012", "OATH_1234567");
Sample WCF C# Repsonse
if (resp.ErrorCode != 0) { message.Text = resp.ErrorMsg; return false; }
REST
REST parameter | data type | description |
---|---|---|
spAccountLoginName | string | SurePassID account login name |
spAccountLoginKey | string | SurePassID account login key |
username | string | user account login name |
type | string | sync_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 |
Sample REST/Json Method
{ "username": "Mandy", "spAccountLoginName": "accountLogin", "spAccountLoginKey": "accountKey", "type": "sync_oath_device", "otp1": 123456, "otp2": 234567, "psn": "OATH_1234567" }
Sample REST/Json Response
{ "errorCode": 0, "errorMessage": "OK", "type": "sync_oath_device" }
, multiple selections available,
Related content
Activate OATH Device
Activate OATH Device
More like this
Enable Device
Enable Device
More like this
Find Device
Find Device
More like this
Unassign Device To User Account
Unassign Device To User Account
More like this
Assign Device To User Account
Assign Device To User Account
More like this
Provision Push Device - DEPRICATED
Provision Push Device - DEPRICATED
More like this