Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

WCF parameterdata typedescription
authServerPartnerLoginNamestringSurePassId account login name
authServerPartnerLoginPasswordstringSurePassId account login key
authServerPartnerUserLoginNamestringUser account name
pwstringUser password
deviceIdstringPush device ID
pushTypestringPush typeAndroid or iOS push device.
deviceNamestringFriendly name of push device
tokenstringtoken
relyingPartystringrelying party

...

Code Block
languagec#
titleSample WCF C# Method
AuthServerResponse  resp = ProvisionPushDevice("accountLogin",             
            "accountKey", 
            "Mandy", 
            "tinyD4nc3r",
	        "123435ASQR6364",
			"?1",
			"a Device",
			"?nKctODamlM4:CKrh_PC8kIb7OclJONHoA",
			"https://mysite.relayingparty.com");

...

REST parameterdata typedescription
spAccountLoginNamestringSurePassId account login name
spAccountLoginKeystringSurePassId account login key
usernamestringuser account login name
typestringprovision_push_device
pwstringUser password
deviceIdstringPush device ID
pushTypestringAndroid or iOS push typedevice
deviceNamestringFriendly name of push device
tokenstringtoken
relyingPartystringRelying party

...

Code Block
languagejs
titleSample 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"
}

...