WCF
Method
public AuthServerResponseProvisionQRCode ProvisionQRCode(string authServerPartnerLoginName, string authServerPartnerLoginPassword, string authServerPartnerUserLoginName, string deviceID, string accountName)
WCF parameter | data type | description |
---|---|---|
authServerPartnerLoginName | string | SurePassId account login name |
authServerPartnerLoginPassword | string | SurePassId account login key |
authServerPartnerUserLoginName | string | User account login name |
deviceID | string | Unique identifier for this device |
accounyName | string | The 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 parameter | data type | description |
---|---|---|
spAccountLoginName | string | SurePassId account login name |
spAccountLoginKey | string | SurePassId account login key |
username | string | user account login name |
type | string | get_oath_device_qrcode |
deviceId | string | Unique identifier for this device |
accountName | string | The user friendly account name that will display on the mobile device for this device |
Sample REST/Json Method
Sample REST/Json Response