...
Code Block | ||||
---|---|---|---|---|
| ||||
AuthServerU2FResponseAddUserAuthServerResponseEnrollUser EnrollUser(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 addDeviceOnly, short notificationMethod); |
...
Code Block | ||||
---|---|---|---|---|
| ||||
AuthServerU2FResponseAddUserAuthServerResponseEnrollUser resp = EnrollUser(String authServerPartnerLoginName,"accountLogin", "accountKey", string authServerPartnerLoginPassword, "Mandy", "Last", "Mandy", string firstName,"M@5ndy58!", Mandy5@myco.com, string lastName "+1(407)555-1212, string loginName,0, // string loginPassword,1, // string email, 6, // otp digits string mobilePhone, 30, // timewindow bool onlyAddDevicefalse, short notificationMethod0); |
Code Block | ||||
---|---|---|---|---|
| ||||
if (resp.ErrorCode != 0) { message.Text = resp.ErrorMsg; return false; } |
...