GoogleAppBuilderExtensions 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
用于将 Google 身份验证功能添加到 HTTP 应用程序管道的扩展方法。
public ref class GoogleAppBuilderExtensions abstract sealed
public static class GoogleAppBuilderExtensions
type GoogleAppBuilderExtensions = class
Public Module GoogleAppBuilderExtensions
- 继承
-
GoogleAppBuilderExtensions
方法
UseGoogleAuthentication(IApplicationBuilder) |
已过时.
UseGoogleAuthentication 已过时。 使用 AddAuthentication () 配置 Google 身份验证。在 ConfigureServices 中添加 Google。 有关详细信息,请参阅 https://go.microsoft.com/fwlink/?linkid=845470 。 |
UseGoogleAuthentication(IApplicationBuilder, GoogleOptions) |
已过时.
UseGoogleAuthentication 已过时。 使用 AddAuthentication () 配置 Google 身份验证。在 ConfigureServices 中添加 Google。 有关详细信息,请参阅 https://go.microsoft.com/fwlink/?linkid=845470 。 |
UseGoogleAuthentication(IApplicationBuilder, GoogleOptions) |
将 GoogleMiddleware 中间件添加到指定的 IApplicationBuilder中,这将启用 Google 身份验证功能。 |
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈