Condividi tramite


OpenIdConnectHandler Costruttori

Definizione

Overload

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

Inizializza una nuova istanza di OpenIdConnectHandler.

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

Inizializza una nuova istanza di 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)

Parametri

backchannel
HttpClient
htmlEncoder
HtmlEncoder

Si applica a

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

Origine:
OpenIdConnectHandler.cs
Origine:
OpenIdConnectHandler.cs

Inizializza una nuova istanza di 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)

Parametri

options
IOptionsMonitor<OpenIdConnectOptions>

Monitoraggio per osservare le modifiche apportate a OpenIdConnectOptions.

logger
ILoggerFactory

Oggetto ILoggerFactory.

htmlEncoder
HtmlEncoder

Oggetto HtmlEncoder.

encoder
UrlEncoder

Oggetto UrlEncoder.

Si applica a

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

Origine:
OpenIdConnectHandler.cs
Origine:
OpenIdConnectHandler.cs
Origine:
OpenIdConnectHandler.cs
Origine:
OpenIdConnectHandler.cs
Origine:
OpenIdConnectHandler.cs
Origine:
OpenIdConnectHandler.cs
Origine:
OpenIdConnectHandler.cs
Origine:
OpenIdConnectHandler.cs
Origine:
OpenIdConnectHandler.cs

Attenzione

ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.

Inizializza una nuova istanza di 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)

Parametri

options
IOptionsMonitor<OpenIdConnectOptions>

Monitoraggio per osservare le modifiche apportate a OpenIdConnectOptions.

logger
ILoggerFactory

Oggetto ILoggerFactory.

htmlEncoder
HtmlEncoder

Oggetto HtmlEncoder.

encoder
UrlEncoder

Oggetto UrlEncoder.

clock
ISystemClock

Oggetto ISystemClock.

Attributi

Si applica a