Tap Auth Response
WCF
Method
public AuthServerResponse TapAuthResponse(string authServerPartnerLoginName, string authServerPartnerLoginPassword, string authServerPartnerUserLoginName, string mobile, string response, string authnUserReqId)
WCF parameter | data type | description |
---|---|---|
authServerPartnerLoginName | string | SurePassID account login name |
authServerPartnerLoginPassword | string | SurePassID account login key |
authServerPartnerUserLoginName | string | User account name |
mobile | string | Mobile number of account that received push message |
response | string | Response to push message sent to mobile device e.g. Yes user accepted message or No. |
authnUserReqId | string | System 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 parameter | data type | description |
---|---|---|
spAccountLoginName | string | SurePassID account login name |
spAccountLoginKey | string | SurePassID account login key |
username | string | user account login name |
type | string | delete_device |
mobile | string | Mobile number of account that received push message |
response | string | Response to push message sent to mobile device e.g. Yes user accepted message or No. |
authnUserReqId | string | System 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" }