小编oll*_*leo的帖子

asp.net核心身份验证中的signin-google如何与Google处理程序链接?

我进入了源代码,但看不到它连接到处理程序的位置。在GoogleExtensions.cs文件中,我看到了

 => builder.AddOAuth<GoogleOptions, GoogleHandler>(authenticationScheme,
                                                   displayName, configureOptions);
Run Code Online (Sandbox Code Playgroud)

但是我不明白路由“ / signin-google”如何调用处理程序。

authentication asp.net-core

3
推荐指数
1
解决办法
600
查看次数

标签 统计

asp.net-core ×1

authentication ×1