Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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
sessionTokenIdstring 
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
sessionTokenIdstring 
Sample REST/Json Method
 
Sample REST/Json Response
 

 

 

  • No labels