WCF
Code Block | ||||
---|---|---|---|---|
| ||||
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 SurePassID account login name |
authServerPartnerLoginPassword | string | SurePassId 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 |
...
Code Block | ||||
---|---|---|---|---|
| ||||
if (resp.ErrorCode != 0) { message.Text = resp.ErrorMsg; return false; } |
REST
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 | 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 |
...