Expire Session Token

WCF


Method
  AuthServerSessionTokensResponse ExpireSessionToken(string authServerPartnerLoginName,
            string authServerPartnerLoginPassword,
            string authServerPartnerUserLoginName,
            string sessionTokenId);
WCF parameterdata typedescription
authServerPartnerLoginNamestringSurePassID account login name
authServerPartnerLoginPasswordstringSurePassID account login key
authServerPartnerUserLoginNamestringOptional user account login name
sessionTokenIdstringThe tokenId to be expired and deleted.
Sample WCF C# Method
  AuthServerSessionTokensResponse resp = ExpireSessionToken("accountLogin",
            "accountKey",
            string.Empty,
            "s3w4e5t3edfvsdvdf89009&&teyuhtry");
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
typestringexpire_session_token
sessionTokenIdstringThe tokenId to be expired and deleted.
Sample REST/Json Method
 {
  "username": "Mark",
  "spAccountLoginName": "accountLogin",
  "spAccountLoginKey":  "accountKey", 
  "type": "expire_session_token",
  "sessionTokenId": "234234gedf46776547dddd6y54765yerwf"
}
Sample REST/Json Response
 {  
  "errorCode": 0,
  "errorMessage": "OK",
  "type": "expire_session_token"
}