Versions Compared

Key

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

...

Code Block
languagec#
title Method
public AuthServerResponse AddPushUserDeviceUpdatePushUserDevice(string authServerPartnerLoginName, 
                 string authServerPartnerLoginPassword, 
                 string authServerPartnerUserLoginName, 
                 string pw,
				 string deviceId,
				 int pushType,
				 string oldToken,
				 string newToken,
				 string provisionToken,
				 string relyingParty)

...

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

...

Code Block
languagejs
titleSample REST/Json Method
{
  "spAccountLoginName": "accountLogin",
  "spAccountLoginKey": "accountKey",
  "username": "mandy",
  "type": "update_push_user_device",
  "pw": "tinyD4nc3r",
  "deviceId": "123435ASQR6364",
  "pushType": "1",
  "oldToken": "nKctODamlM4:CKrh_PC8kIb7OclJONHoA",
  "newToken": "mRdyODytlD9:DPrh_NA47kz35ilHoOcoZ",
  "provisionToken": "NDA0MDNFMjYyNjJBN0Q3NTQwNDQyQzc2NzE2ODM1NEQzMDRBNDg2RjU3NkI3Njc2NEQyNjRGNTAyODU0",
  "relyingParty": "https://mysite.relayingparty.com"
}

...