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 account login name
authOtpstringPasscode to be verified. Usually sent by Send Passcode API
printedSerialNumberstring 

A specific device assigned to this user. If this is left empty then the first device assigned

Code Block
languagec#
titleSample WCF C# Method
 AuthServerU2FResponse ValidateOTP("accountLogin", 
            "accountKey", 
            "Mandy", 
            "123456", 
            string.Empty);

...

REST parameterdata typedescription
spAccountLoginNamestringSurePassId account login name
spAccountLoginKeystringSurePassId account login key
usernamestringuser account login name
typestringvalidate_oath_otp
codestringPasscode to be verified
psnstring 

A specific device assigned to this user. If this is left empty then the first device assigned

Code Block
languagejs
titleSample REST/Json Method
 {
  "username": "Mandy",
  "spAccountLoginName": "accountLogin",
  "spAccountLoginKey": "acccountKey",
  "type": "validate_oath_otp",
  "otp": "123456",
  "psn": ""
}

...