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)

...

WCF parameterdata typedescription
authServerPartnerLoginNamestringSurePassId SurePassID account login name
authServerPartnerLoginPasswordstringSurePassId SurePassID account login key
authServerPartnerUserLoginNamestringUser account login name
deviceIDstringUnique identifier for this device. This identifier can represent a soft token device type such as a mobile app or desktop app
physicalDeviceIdstringUnique physical (hardware) identifier for this device

...

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 SurePassID account login name
spAccountLoginKeystringSurePassId SurePassID 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

...