Tap Auth Response

WCF


Method
public AuthServerResponse TapAuthResponse(string authServerPartnerLoginName, 
                 string authServerPartnerLoginPassword, 
                 string authServerPartnerUserLoginName, 
                 string mobile,
				 string response,
			     string authnUserReqId)
WCF parameterdata typedescription
authServerPartnerLoginNamestringSurePassID account login name
authServerPartnerLoginPasswordstringSurePassID account login key
authServerPartnerUserLoginNamestringUser account name
mobilestringMobile number of account that received push message
responsestringResponse to push message sent to mobile device e.g. Yes user accepted message or No.
authnUserReqIdstringSystem generated push notification request Identifier.
Sample WCF C# Method
AuthServerResponse  resp = TapAuthResponse("accountLogin",             
            "accountKey", 
            "Mandy", 
            "(123)456-7890",
			"User accepted",
			"?");
Sample WCF C# Repsonse
 if (resp.ErrorCode != 0)  {      
       message.Text = resp.ErrorMsg;
       return false;
 }


REST


REST parameterdata typedescription
spAccountLoginNamestringSurePassID account login name
spAccountLoginKeystringSurePassID account login key
usernamestringuser account login name
typestringdelete_device
mobilestringMobile number of account that received push message
responsestringResponse to push message sent to mobile device e.g. Yes user accepted message or No.
authnUserReqIdstringSystem generated push notification request Identifier.
Sample REST/Json Method
{
"spAccountLoginName": "{{spAccountLoginName}}",
"spAccountLoginKey": "{{spAccountLoginKey}}",
"username": "{{username}}",
"type": "tap_auth_response",
"mobile": "(123)456-7890",
"response": "User accepted",
"authnUserReqId": "?"
}
Sample REST/Json Response
 {
  "errorCode": 0,
  "errorMessage": "OK",
  "type": "tap_auth_response"
}