Authenticate user in Microsoft bot framework [closed]

匆匆过客 提交于 2019-12-19 09:53:32

问题


I am building a Banking Bot and I need to authenticate the user before providing any details to him. If the Bot is idle for 5 min, I need user to re-authenticate before proceeding further.

I am using Microsoft Bot framework and LUIS for BOT development. Can anyone help me with this problem?


回答1:


Directly authenticating user through chat window is not recommended and in such cases you'll need to use magic codes for authentication. Consider using third pattern described there which is quite secure.




回答2:


You must use a signin card, to ensure the user is authenticated and you know the user. You must avoid to ask the user to enter his credential in the chat. For the idle time, you can use a middleware component to intercept all messages from user and review the last time he sent a message to the bot.



来源:https://stackoverflow.com/questions/42276830/authenticate-user-in-microsoft-bot-framework

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!