...
Code Block | ||||
---|---|---|---|---|
| ||||
public AuthServerResponse AddPushUserDeviceUpdatePushUserDevice(string authServerPartnerLoginName, string authServerPartnerLoginPassword, string authServerPartnerUserLoginName, string pw, string deviceId, int pushType, string oldToken, string newToken, string provisionToken, string relyingParty) |
...
WCF parameter | data type | description |
---|---|---|
authServerPartnerLoginName | string | SurePassId SurePassID account login name |
authServerPartnerLoginPassword | string | SurePassId SurePassID account login key |
authServerPartnerUserLoginName | string | User account name |
pw | string | User account password |
deviceId | string | ID of the device being added |
pushType | integer | Push type of the device being added, e.g. Android: 1, iOS: 2. |
oldToken | string | Previously provided registration token for the device. |
newToken | string | New registration token for the device. |
provisionToken | string | The original TokenId used to provision the push account. |
relyingParty | string | Name of the relying party requesting access |
...
Code Block | ||||
---|---|---|---|---|
| ||||
AuthServerResponse resp = AddPushUserDeviceUpdatePushUserDevice("accountLogin", "accountKey", "Mandy", "tinyD4nc3r", "123435ASQR6364", "1", "nKctODamlM4:CKrh_PC8kIb7OclJONHoA", "mRdyODytlD9:DPrh_NA47kz35ilHoOcoZ", "NDA0MDNFMjYyNjJBN0Q3NTQwNDQyQzc2NzE2ODM1NEQzMDRBNDg2RjU3NkI3Njc2NEQyNjRGNTAyODU0", "https://mysite.relayingparty.com"); |
...
REST parameter | data type | description |
---|---|---|
spAccountLoginName | string | SurePassId SurePassID account login name |
spAccountLoginKey | string | SurePassId SurePassID account login key |
username | string | user account login name |
type | string | addupdate_push_user_device |
pw | string | User account password |
deviceId | string | ID of the push device |
pushType | integer | Push type of mobile device |
oldToken | string | Previously provided registration token for the device. |
newToken | string | New registration token for the device. |
relyingParty | string | Name of the relying party requesting device addition. |
...
Code Block | ||||
---|---|---|---|---|
| ||||
{
"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"
} |
...