Versions Compared

Key

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

...

WCF parameterdata typedescription
authServerPartnerLoginNamestringSurePassId account login name
authServerPartnerLoginPasswordstringSurePassId account login key
authServerPartnerUserLoginNamestringOptional user account login name
sessionTokenIdstring The tokenId to be expired and deleted.
Code Block
languagec#
titleSample WCF C# Method
  AuthServerSessionTokensResponse resp = ExpireSessionToken("accountLogin",
            "accountKey",
            string.Empty,
            "s3w4e5t3edfvsdvdf89009&&teyuhtry");

...

REST parameterdata typedescription
spAccountLoginNamestringSurePassId account login name
spAccountLoginKeystringSurePassId account login key
usernamestringuser User account login name
typestringexpire_session_token
sessionTokenIdstring The tokenId to be expired and deleted.
Code Block
languagejs
titleSample REST/Json Method
 {
  "username": "Mark",
  "spAccountLoginName": "accountLogin",
  "spAccountLoginKey":  "accountKey", 
  "type": "expire_session_token",
  "sessionTokenId": "234234gedf46776547dddd6y54765yerwf"
}
Code Block
languagejs
titleSample REST/Json Response
 {  
  "errorCode": 0,
  "errorMessage": "OK",
  "type": "expire_session_token"
}