GoogleMiddleware 類別

定義

使用 Google OAuth 2.0 驗證使用者的 ASP.NET Core中介軟體。

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

使用 Google OAuth 2.0 驗證使用者的 ASP.NET Core中介軟體。

(繼承來源 AuthenticationMiddleware<TOptions>)
Backchannel

使用 Google OAuth 2.0 驗證使用者的 ASP.NET Core中介軟體。

(繼承來源 OAuthMiddleware<TOptions>)
Logger

使用 Google OAuth 2.0 驗證使用者的 ASP.NET Core中介軟體。

(繼承來源 AuthenticationMiddleware<TOptions>)
Options

使用 Google OAuth 2.0 驗證使用者的 ASP.NET Core中介軟體。

(繼承來源 AuthenticationMiddleware<TOptions>)
UrlEncoder

使用 Google OAuth 2.0 驗證使用者的 ASP.NET Core中介軟體。

(繼承來源 AuthenticationMiddleware<TOptions>)

方法

CreateHandler()

AuthenticationHandler<TOptions>提供 物件來處理驗證相關要求。

Invoke(HttpContext)

使用 Google OAuth 2.0 驗證使用者的 ASP.NET Core中介軟體。

(繼承來源 AuthenticationMiddleware<TOptions>)

適用於