如何使用OTP(一次性密码)验证对用户进行身份验证 [英] How to authenticate the user with OTP (one time password) validation

查看:3075
本文介绍了如何使用OTP(一次性密码)验证对用户进行身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我的要求使用Otp验证来验证用户而不是我的网络应用程序中的用户ID和密码选项。我正在使用带有javascript和Wcf服务的html页面来执行操作。



我搜索了很多东西,但无法获得相应的相关信息。如果你们中的任何一个人遇到同样的要求,请让我知道该怎么做才能解决这个问题。



谢谢!!!。



我尝试了什么:



我没有得到任何相关的信息我的要求是为了尝试。

Hi All,
I do have a requirement to authenticate the user with Otp validation instead of user id and password option in my web Application. I'm using html pages with javascript and Wcf service to performing the operations.

I searched lot of things but couldn't able to get corresponding related info. If any one of you had faced the same requirement, kindly let me know what to do in order to get resolve this issue.

Thanks!!!.

What I have tried:

I din't get any info related to my requirement in order to try.

推荐答案

1) Create a Table with Mobile No/Email ID and user details and OTP columns'
2) Fill detail accordingly by registration form
3) Create services for get OTP  

       - Ask mobile number / Email address for OTP
       - If mobile number/email address already exists update OTP column with random string as OTP
       - Send OTP on Mobile/Email respestively 
    
4) Create service for Login

       - It needs mobile/email and OTP combination
       - Check that combination if it is correct then do login else return messsage "invalid login"

You have to modify it according to your need, I have just provided idea.


这篇关于如何使用OTP(一次性密码)验证对用户进行身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆