Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

WCF

 

Method
public AuthServerResponseProvisionQRCode ProvisionQRCode(string authServerPartnerLoginName, string authServerPartnerLoginPassword, string          authServerPartnerUserLoginName, string deviceID, string accountName)
WCF parameterdata typedescription
authServerPartnerLoginNamestringSurePassId account login name
authServerPartnerLoginPasswordstringSurePassId account login key
authServerPartnerUserLoginNamestringUser account login name
deviceIDstringUnique identifier for this device
accounyNamestringThe user friendly account name that will display on the mobile device for this device
Sample WCF C# Method
AuthServerResponseProvisionQRCode resp = ProvisionQRCode(string authServerPartnerLoginName, string AuthServerPartnerLoginPassword, string          AuthServerPartnerUserLoginName, string DeviceID, string AccountName)
Sample WCF C# Repsonse
 if (resp.ErrorCode != 0)  {      
       message.Text = resp.ErrorMsg;
       return false;
 }

 

REST


REST parameterdata typedescription
spAccountLoginNamestringSurePassId account login name
spAccountLoginKeystringSurePassId account login key
usernamestringuser account login name
typestringget_oath_device_qrcode
deviceIdstringUnique identifier for this device
accountNamestringThe user friendly account name that will display on the mobile device for this device
Sample REST/Json Method
 
Sample REST/Json Response
 

 

 

  • No labels