WCF
Code Block | ||||
---|---|---|---|---|
| ||||
public AuthServerResponseProvisionDevice ProvisionDevice(string authServerPartnerLoginName, string authServerPartnerLoginPassword, string authServerPartnerUserLoginName, string deviceID, string physicalDeviceId) |
...
Code Block | ||||
---|---|---|---|---|
| ||||
if (resp.ErrorCode != 0) { message.Text = resp.ErrorMsg; return false; } else { // returns device information for local app provisioning. } |
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 | provision_oath_device |
deviceId | string | Unique identifier for this device. This field is assigned by the server when the device was created. |
physicalDeviceId | string | Unique physical (hardware) identifier for this device |
...