OpenIdConnectMiddleware 類別

定義

ASP.NET Core中介軟體,以使用 OpenIdConnect 通訊協定取得身分識別。

public ref class OpenIdConnectMiddleware : Microsoft::AspNetCore::Authentication::AuthenticationMiddleware<Microsoft::AspNetCore::Builder::OpenIdConnectOptions ^>
public class OpenIdConnectMiddleware : Microsoft.AspNetCore.Authentication.AuthenticationMiddleware<Microsoft.AspNetCore.Builder.OpenIdConnectOptions>
type OpenIdConnectMiddleware = class
    inherit AuthenticationMiddleware<OpenIdConnectOptions>
Public Class OpenIdConnectMiddleware
Inherits AuthenticationMiddleware(Of OpenIdConnectOptions)
繼承

建構函式

OpenIdConnectMiddleware(RequestDelegate, IDataProtectionProvider, ILoggerFactory, UrlEncoder, IServiceProvider, IOptions<SharedAuthenticationOptions>, IOptions<OpenIdConnectOptions>, HtmlEncoder)

初始化 OpenIdConnectMiddleware

屬性

AuthenticationScheme

ASP.NET Core中介軟體,以使用 OpenIdConnect 通訊協定取得身分識別。

(繼承來源 AuthenticationMiddleware<TOptions>)
Backchannel

ASP.NET Core中介軟體,以使用 OpenIdConnect 通訊協定取得身分識別。

HtmlEncoder

ASP.NET Core中介軟體,以使用 OpenIdConnect 通訊協定取得身分識別。

Logger

ASP.NET Core中介軟體,以使用 OpenIdConnect 通訊協定取得身分識別。

(繼承來源 AuthenticationMiddleware<TOptions>)
Options

ASP.NET Core中介軟體,以使用 OpenIdConnect 通訊協定取得身分識別。

(繼承來源 AuthenticationMiddleware<TOptions>)
UrlEncoder

ASP.NET Core中介軟體,以使用 OpenIdConnect 通訊協定取得身分識別。

(繼承來源 AuthenticationMiddleware<TOptions>)

方法

CreateHandler()

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

Invoke(HttpContext)

ASP.NET Core中介軟體,以使用 OpenIdConnect 通訊協定取得身分識別。

(繼承來源 AuthenticationMiddleware<TOptions>)

適用於