Versions Compared

Key

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

...

Code Block
languagec#
titleAdd Oath User Method
 AuthServerU2FResponseAddUserAuthServerU2FResponseAddUser AddU2FUserEnrollUser(String authServerPartnerLoginName,   
                               string  authServerPartnerLoginPassword,
                               string firstName,
                               string lastName,
                               string loginName,
                               string loginPassword,
                               string email,
                               string mobilePhone,
                               short deviceType,
                               short otpType,
                               short otpLength,	
                               short otpWindow,
                               string pin,
                               string deviceId, 
                               bool onlyAddDevice,
                               short notificationMethod);

...

WCF parameterdata typedescription
authServerPartnerLoginNamestringSurePassId account login name
authServerPartnerLoginPasswordstringSurePassId account login key
firstNamestringFirst name
lastNamestringLast name
loginNamestringUser account login name
loginPasswordstringUsers password. If omitted one will be generated. If using Active Directory on the server this parameter is ignored.
emailstringUser email. Used for sending email notifications and temporary pass codes.
mobilePhonestringUsers mobile phone Used for sending voice or sms messages
deviceTypeshortDevice Type
otpTypeshortOTP Type
otpLengthshortThe length of the desired OTP. 
otpWindowshortThe sliding window for OTP validation.  For event based OTP Type this is the number of values > than the event counter that will be accepted. For time based OTP Type this is the number of seconds that will elapse before the OTP will change.
pinshortThe pin associated with device for OTP Type that require a PIN
deviceIdshortThe deviceId to assign to this newly created device associated with this account. It is recommended you pass an empty string value.
onlyAddDevicebooltrue = add user and u2f add the device device, false= just add user; u2f   device will need to be added to user account later
notificationMethodshort

send welcome message to user.  0 = none, 1=email, 2=sms


...