Versions Compared

Key

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

WCF

Method Name:

 

Code Block
languagec#
title Method
        AuthServerU2FResponse SendOTP(string authServerPartnerLoginName, 
                     string authServerPartnerLoginPassword, 
                     string authServerPartnerUserLoginName, 
                     string printedSerialNumber, 
                     short deliveryMethod);

...

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
typestringsend_oath_otp 
printedSerialNumber string

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

device is used 

deliveryMethod  stringthe method to send the pass code to the user. values are sms, voice, email

...