...
Code Block | ||||
---|---|---|---|---|
| ||||
public AuthServerResponse ActiveDevice(string authServerPartnerLoginName, string authServerPartnerLoginPassword, string authServerPartnerUserLoginName, string otp1, string otp1otp2, string printedSerialNumber) |
...
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 | activateactive_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 |
Code Block | ||||
---|---|---|---|---|
| ||||
{ "username": "Mandy", "spAccountLoginName": "accountLogin", "spAccountLoginKey": "accountKey", "type": "activateactive_oath_device", "otp1": 123456, "otp1otp2": 123456, "psn": "OATH_1234567", } |
Code Block | ||||
---|---|---|---|---|
| ||||
{ "errorCode": 0, "errorMessage": "OK", "type": "activateactive_oath_device" } |