共用方式為


OpenIdConnectHandler 建構函式

定義

多載

OpenIdConnectHandler(HttpClient, HtmlEncoder)
OpenIdConnectHandler(IOptionsMonitor<OpenIdConnectOptions>, ILoggerFactory, HtmlEncoder, UrlEncoder)

初始化 OpenIdConnectHandler 的新執行個體。

OpenIdConnectHandler(IOptionsMonitor<OpenIdConnectOptions>, ILoggerFactory, HtmlEncoder, UrlEncoder, ISystemClock)
已淘汰.

初始化 OpenIdConnectHandler 的新執行個體。

OpenIdConnectHandler(HttpClient, HtmlEncoder)

public:
 OpenIdConnectHandler(System::Net::Http::HttpClient ^ backchannel, System::Text::Encodings::Web::HtmlEncoder ^ htmlEncoder);
public OpenIdConnectHandler (System.Net.Http.HttpClient backchannel, System.Text.Encodings.Web.HtmlEncoder htmlEncoder);
new Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler : System.Net.Http.HttpClient * System.Text.Encodings.Web.HtmlEncoder -> Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler
Public Sub New (backchannel As HttpClient, htmlEncoder As HtmlEncoder)

參數

backchannel
HttpClient
htmlEncoder
HtmlEncoder

適用於

OpenIdConnectHandler(IOptionsMonitor<OpenIdConnectOptions>, ILoggerFactory, HtmlEncoder, UrlEncoder)

來源:
OpenIdConnectHandler.cs
來源:
OpenIdConnectHandler.cs

初始化 OpenIdConnectHandler 的新執行個體。

public OpenIdConnectHandler (Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions> options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.HtmlEncoder htmlEncoder, System.Text.Encodings.Web.UrlEncoder encoder);
new Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler : Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions> * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.HtmlEncoder * System.Text.Encodings.Web.UrlEncoder -> Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler
Public Sub New (options As IOptionsMonitor(Of OpenIdConnectOptions), logger As ILoggerFactory, htmlEncoder As HtmlEncoder, encoder As UrlEncoder)

參數

options
IOptionsMonitor<OpenIdConnectOptions>

觀察 變更的 OpenIdConnectOptions 監視器。

htmlEncoder
HtmlEncoder

HtmlEncoder

encoder
UrlEncoder

UrlEncoder

適用於

OpenIdConnectHandler(IOptionsMonitor<OpenIdConnectOptions>, ILoggerFactory, HtmlEncoder, UrlEncoder, ISystemClock)

來源:
OpenIdConnectHandler.cs
來源:
OpenIdConnectHandler.cs
來源:
OpenIdConnectHandler.cs
來源:
OpenIdConnectHandler.cs
來源:
OpenIdConnectHandler.cs
來源:
OpenIdConnectHandler.cs
來源:
OpenIdConnectHandler.cs
來源:
OpenIdConnectHandler.cs
來源:
OpenIdConnectHandler.cs

警告

ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.

初始化 OpenIdConnectHandler 的新執行個體。

public:
 OpenIdConnectHandler(Microsoft::Extensions::Options::IOptionsMonitor<Microsoft::AspNetCore::Authentication::OpenIdConnect::OpenIdConnectOptions ^> ^ options, Microsoft::Extensions::Logging::ILoggerFactory ^ logger, System::Text::Encodings::Web::HtmlEncoder ^ htmlEncoder, System::Text::Encodings::Web::UrlEncoder ^ encoder, Microsoft::AspNetCore::Authentication::ISystemClock ^ clock);
public OpenIdConnectHandler (Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions> options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.HtmlEncoder htmlEncoder, System.Text.Encodings.Web.UrlEncoder encoder, Microsoft.AspNetCore.Authentication.ISystemClock clock);
[System.Obsolete("ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.")]
public OpenIdConnectHandler (Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions> options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.HtmlEncoder htmlEncoder, System.Text.Encodings.Web.UrlEncoder encoder, Microsoft.AspNetCore.Authentication.ISystemClock clock);
new Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler : Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions> * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.HtmlEncoder * System.Text.Encodings.Web.UrlEncoder * Microsoft.AspNetCore.Authentication.ISystemClock -> Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler
[<System.Obsolete("ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.")>]
new Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler : Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions> * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.HtmlEncoder * System.Text.Encodings.Web.UrlEncoder * Microsoft.AspNetCore.Authentication.ISystemClock -> Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler
Public Sub New (options As IOptionsMonitor(Of OpenIdConnectOptions), logger As ILoggerFactory, htmlEncoder As HtmlEncoder, encoder As UrlEncoder, clock As ISystemClock)

參數

options
IOptionsMonitor<OpenIdConnectOptions>

觀察 變更的 OpenIdConnectOptions 監視器。

htmlEncoder
HtmlEncoder

HtmlEncoder

encoder
UrlEncoder

UrlEncoder

屬性

適用於