Versions Compared

Key

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

WCF


Code Block
languagec#
title Method
public AuthServerResponseProvisionDevice ProvisionDevice(string authServerPartnerLoginName, 
                 string authServerPartnerLoginPassword, 
                 string authServerPartnerUserLoginName, 
                 string deviceID, 
                 string physicalDeviceId)

...

Code Block
languagec#
titleSample WCF C# Repsonse
 if (resp.ErrorCode != 0)  {      
       message.Text = resp.ErrorMsg;
       return false;
 }
else
{
   // returns device information for local app provisioning.
} 


REST


REST parameterdata typedescription
spAccountLoginNamestringSurePassId account login name
spAccountLoginKeystringSurePassId account login key
usernamestringuser account login name
typestringprovision_oath_device
deviceIdstringUnique identifier for this device. This field is assigned by the server when the device was created.
physicalDeviceIdstringUnique physical (hardware) identifier for this device

...