Exemple #1
0
        public static int enableOTP(string username, string email, string firstName, string lastName, string phone)
        {
            SecuOTPService changeotp = new SecuOTPService("https://secuotp-test.co.th", "5L44G-7XR1G-V5RAM-JC6KG");
            ServiceStatus  status    = changeotp.registerEndUser(username, email, firstName, lastName, phone);

            return(status.getStatusId());
        }
Exemple #2
0
        public static int enableOTP(
            string username, string fname,
            string lname, string email, string pnumber)
        {
            SecuOTPService service = new SecuOTPService("https://secuotp-test.co.th", "5L44G-7XR1G-V5RAM-JC6KG");
            ServiceStatus  status  = service.registerEndUser(username, email, fname, lname, pnumber);

            return(status.getStatusId());
        }