Net*_*ian 3 owin katana asp.net-mvc-5
这可能是一个愚蠢的问题,但我在互联网上没有找到答案。我看到以下 MVC5 和 oAuth 代码
\n\napp.UseFacebookAuthentication\napp.UseGoogleAuthentication();
\n\n但是,我在调试器中的应用程序对象上没有看到任何名为 UseGoogleAuthentication 的方法。我确实在 Katana 代码中的 AppBuilder 上看到了 \xe2\x80\x9cUse\xe2\x80\x9d 方法。那么发生了什么?这个 \xe2\x80\x9capp.UseGoogleAuthentication();\xe2\x80\x9d 神秘方法是从哪里来的?我确信我错过了一些约定,但它是什么?
\n\n提前致谢
\n| 归档时间: |
|
| 查看次数: |
2803 次 |
| 最近记录: |