Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

WCF

 

Code Block
languagec#
title Method
  AuthServerSessionTokensResponse ExpireSessionToken(string authServerPartnerLoginName,
            string authServerPartnerLoginPassword,
            string authServerPartnerUserLoginName,
            string sessionTokenId);
WCF parameterdata typedescription
authServerPartnerLoginNamestringSurePassId account login name
authServerPartnerLoginPasswordstringSurePassId account login key
authServerPartnerUserLoginNamestringUser Optional user account login name
 sessionTokenId string 
   
Code Block
languagec#
titleSample WCF C# Method
  AuthServerSessionTokensResponse resp = ExpireSessionToken("accountLogin",
            "accountKey",
            string.Empty,
            "s3w4e5t3edfvsdvdf89009&&teyuhtry");
Code Block
languagec#
titleSample 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
typestring p1 expire_session_token
sessionTokenIdstring 
Code Block
languagejs
titleSample REST/Json Method
 

...