GoogleMiddleware 类 
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
一个 ASP.NET Core中间件,用于使用 Google OAuth 2.0 对用户进行身份验证。
public ref class GoogleMiddleware : Microsoft::AspNetCore::Authentication::OAuth::OAuthMiddleware<Microsoft::AspNetCore::Builder::GoogleOptions ^>public class GoogleMiddleware : Microsoft.AspNetCore.Authentication.OAuth.OAuthMiddleware<Microsoft.AspNetCore.Builder.GoogleOptions>type GoogleMiddleware = class
    inherit OAuthMiddleware<GoogleOptions>Public Class GoogleMiddleware
Inherits OAuthMiddleware(Of GoogleOptions)- 继承
构造函数
| GoogleMiddleware(RequestDelegate, IDataProtectionProvider, ILoggerFactory, UrlEncoder, IOptions<SharedAuthenticationOptions>, IOptions<GoogleOptions>) | 初始化新的 GoogleMiddleware。 | 
属性
| AuthenticationScheme | 一个 ASP.NET Core中间件,用于使用 Google OAuth 2.0 对用户进行身份验证。(继承自 AuthenticationMiddleware<TOptions>) | 
| Backchannel | 一个 ASP.NET Core中间件,用于使用 Google OAuth 2.0 对用户进行身份验证。(继承自 OAuthMiddleware<TOptions>) | 
| Logger | 一个 ASP.NET Core中间件,用于使用 Google OAuth 2.0 对用户进行身份验证。(继承自 AuthenticationMiddleware<TOptions>) | 
| Options | 一个 ASP.NET Core中间件,用于使用 Google OAuth 2.0 对用户进行身份验证。(继承自 AuthenticationMiddleware<TOptions>) | 
| UrlEncoder | 一个 ASP.NET Core中间件,用于使用 Google OAuth 2.0 对用户进行身份验证。(继承自 AuthenticationMiddleware<TOptions>) | 
方法
| CreateHandler() | AuthenticationHandler<TOptions>提供用于处理与身份验证相关的请求的 对象。 | 
| Invoke(HttpContext) | 一个 ASP.NET Core中间件,用于使用 Google OAuth 2.0 对用户进行身份验证。(继承自 AuthenticationMiddleware<TOptions>) |