/
Provision Soft Token (OTA)

Provision Soft Token (OTA)

WCF


Method
public AuthServerResponseProvisionDevice ProvisionDevice(string authServerPartnerLoginName, 
                 string authServerPartnerLoginPassword, 
                 string authServerPartnerUserLoginName, 
                 string deviceID, 
                 string physicalDeviceId)
WCF parameterdata typedescription
authServerPartnerLoginNamestringSurePassID account login name
authServerPartnerLoginPasswordstringSurePassID 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
Sample WCF C# Method
AuthServerResponseProvisionDevice resp = ProvisionDevice("accountLogin",             
            "accountKey", 
            "Mandy", 
            "142o6-ar4v3-q2b85", 
            "34xcdfg67dvgv45r");
Sample 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
Sample REST/Json Method
 {  
  "username": "Mandy",
  "spAccountLoginName": "accountLogin",
  "spAccountLoginKey": "accountKey",
  "type": "provision_oath_device",
  "deviceId": "142o6-ar4v3-q2b85",
  "physicalDeviceId": "Prod_Authenticator"
}
Sample REST/Json Response
 {  
  "errorCode": 0,
  "errorMessage": "OK",
  "deviceType": 0,
  ...
  ...
  ...
  "type": "get_oath_device_qrcode"
}


Related content

API Methods
Read with this
Provision Soft Token (QR Code)
Provision Soft Token (QR Code)
More like this
Provision Push Device - DEPRICATED
Provision Push Device - DEPRICATED
More like this
Activate OATH Device
Activate OATH Device
More like this
Add Push User Device
Add Push User Device
More like this
Enable Device
More like this