与2因素认证样品或生产asp.net mvc的5示例项目准备好了吗? [英] Is the asp.net mvc 5 sample project with 2 factor authentication a sample or production ready?

查看:95
本文介绍了与2因素认证样品或生产asp.net mvc的5示例项目准备好了吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好像我现在可以从身份2因素认证的唯一方法是,如果我创建一个空的MVC应用5然后安装,象这样的包管理器标识样本pre版本:

It seems like the only way I can currently get 2 factor authentication from identity 2 is if I create an empty MVC 5 app then install the Identity samples Pre release with the package manager like so:

Install-Package -Prerelease Microsoft.AspNet.Identity.Samples

但好像这只是一个样本,不是我可以用一个真正的应用程序?我可以用这个样品项目作为一个真正的应用程序?它说,在www.asp.net/identity的文档,这是一个产能释放了!

But it seems like this is only a sample and not something I can use for a real app? Can I use this "sample" project as a real app? It says in the documentation at www.asp.net/identity that it is a production release!

我只是想获得2因素认证到项目中,我不知道该怎么办呢?所有导游网上显示,从使用的的NuGet $ P $租赁前的样本项目。我想问题是 - 此示例项目准备显示或者我应该等待在VS 2013项目模板在一些更新显示?我怕,如果我现在创建一个MVC应用5不带2因素身份验证,然后尝试,并在以后添加它,它会在ARS痛!或者,如果我用2FA示例项目现在可能有重大缺陷,这将是在ARS痛,以后再修改在于它只是一个示例应用程序。

I just want to get 2 factor authentication into a project and I'm not sure how to do it? All the guides online show the use of the prerelease sample project from NuGet. I guess the question is - is this sample project ready for the "Show" or should I wait for a project template in VS 2013 to show up in some update? I'm afraid that if I create a MVC 5 app now with no 2 factor authentication and then try and add it later it will be a pain in the ars! Or if I use the sample project with 2FA now it might have major bugs that will be a pain in the ars later to fix being that its just a sample app.

最后一个问题!如果我最终使用的示例应用程序在我的应用程序创建一个2FA我还可以与Facebook /谷歌/微博/等进行登录注册?

Last question! If I do end up using the sample app to create a 2FA in my app can I still register with Facebook/Google/Twitter/etc for login?

推荐答案

样品都显示如何启用2FA和身份的更多的功能。他们有一些地区不属于生产准备,如管理用户和角色的WebAdmin的场景。我们正在更新中,这将在模板中已启用2FA的Visual Studio 2013的下一个更新的项目模板。项目模板是基于这样的样本将是pretty关闭在内容方面。
您还可以使用Facebook / Twitter的等在样品包装登录

The samples are showing how you can enable 2FA and more features of Identity. They have some areas which are not production ready such as the WebAdmin scenario of managing users and roles. We are updating the project templates in next update of Visual Studio 2013 which will have 2FA enabled in the templates. The project templates are based on the samples so will be pretty close in terms of content. You can also use Facebook/ Twitter etc for logging in in the samples package

这篇关于与2因素认证样品或生产asp.net mvc的5示例项目准备好了吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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