/
Provision Soft Token (QR Code)

Provision Soft Token (QR Code)

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
accountNamestringThe user friendly account name that will display on the mobile device for this device
Sample WCF C# Method
AuthServerResponseProvisionQRCode resp = ProvisionQRCode("accountLogin",             
            "accountKey", 
            "Mandy", 
            "142o6-ar4v3-q2b85", 
            "Prod");
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
 {  
  "username": "Mandy",
  "spAccountLoginName": "accountLogin",
  "spAccountLoginKey": "accountKey",
  "type": "get_oath_device_qrcode",
  "deviceId": "142o6-ar4v3-q2b85",
  "accountName": "Prod"
}
Sample REST/Json Response
 {  
  "errorCode": 0,
  "errorMessage": "OK",
  "QRCodeURL": "https://qrcode_url_to_display"
  "type": "get_oath_device_qrcode"
}



Related content

Provision Soft Token (OTA)
Provision Soft Token (OTA)
More like this
Activate OATH Device
Activate OATH Device
More like this
Create Session Token
Create Session Token
More like this
Enable Device
More like this
Provision Push Device - DEPRICATED
Provision Push Device - DEPRICATED
More like this
Tap Auth Response
Tap Auth Response
More like this