/
Provision Push Device - DEPRICATED
Provision Push Device - DEPRICATED
WCF
Method
public AuthServerResponse ProvisionPushDevice(string authServerPartnerLoginName, string authServerPartnerLoginPassword, string authServerPartnerUserLoginName, string pw, string deviceId, string pushType, string deviceName, string token, string relyingParty)
WCF parameter | data type | description |
---|---|---|
authServerPartnerLoginName | string | SurePassID account login name |
authServerPartnerLoginPassword | string | SurePassID account login key |
authServerPartnerUserLoginName | string | User account name |
pw | string | User password |
deviceId | string | Push device ID |
pushType | string | Android or iOS push device. |
deviceName | string | Friendly name of push device |
token | string | token |
relyingParty | string | relying party |
Sample WCF C# Method
AuthServerResponse resp = ProvisionPushDevice("accountLogin", "accountKey", "Mandy", "tinyD4nc3r", "123435ASQR6364", "1", "a Device", "nKctODamlM4:CKrh_PC8kIb7OclJONHoA", "https://mysite.relayingparty.com");
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 | provision_push_device |
pw | string | User password |
deviceId | string | Push device ID |
pushType | string | Android or iOS push device |
deviceName | string | Friendly name of push device |
token | string | token |
relyingParty | string | Relying party |
Sample REST/Json Method
{ "spAccountLoginName": "{{spAccountLoginName}}", "spAccountLoginKey": "{{spAccountLoginKey}}", "username": "{{username}}", "pw": "tinyD4nc3r", "deviceId": "123435ASQR6364", "pushType": "1", "deviceName": "aDevice", "token": "nKctODamlM4:CKrh_PC8kIb7OclJONHoA", "relyingParty": "https://mysite.relayingparty.com", "type": "provision_push_device" }
Sample REST/Json Response
{ "errorCode": 0, "errorMessage": "OK", "type": "provision_push_device" }
, multiple selections available,
Related content
Provision Soft Token (OTA)
Provision Soft Token (OTA)
More like this
Enable Device
Enable Device
More like this
Activate OATH Device
Activate OATH Device
More like this
Assign Device To User Account
Assign Device To User Account
More like this
Receive Push Response
Receive Push Response
More like this
Unassign Device To User Account
Unassign Device To User Account
More like this