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
authServerPartnerUserLoginNamestringUser Optional user account login name. Can be left blank
sessionTokenIdstringThe tokenId to be checked for validity. The tokenId is returned to the user following the CreateSessionToken method
Code Block
languagec#
titleSample WCF C# Method
  AuthServerSessionTokensResponse resp = IsSessionTokenValid("accountLogin",
            "accountKey",
            "Mandy"string.Empty,
            "245dwfweee**fwerwrfwdd4");

...

REST parameterdata typedescription
spAccountLoginNamestringSurePassId account login name
spAccountLoginKeystringSurePassId account login key
usernamestringoptional user account login name
typestringis_session_token_valid
sessionTokenIdstringThe tokenId to be checked for validity. The tokenId is returned to the user following the CreateSessionToken method
Code Block
languagejs
titleSample REST/Json Method
 {
  "username": "Mark",
  "spAccountLoginName": "Tiera",
  "spAccountLoginKey": "PW",
  "type": "is_session_token_valid",
  "sessionTokenId": "234234gedf46776547dddd6y54765yerwf"
}
Code Block
languagejs
titleSample REST/Json Response
 {
  "errorCode": 0,
  "errorMessage": "OK",
  "type": "is_session_token_valid"
}