OpenIdConnectHandler Konstruktory
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
OpenIdConnectHandler(HttpClient, HtmlEncoder) | |
OpenIdConnectHandler(IOptionsMonitor<OpenIdConnectOptions>, ILoggerFactory, HtmlEncoder, UrlEncoder) |
Inicializuje novou instanci objektu OpenIdConnectHandler. |
OpenIdConnectHandler(IOptionsMonitor<OpenIdConnectOptions>, ILoggerFactory, HtmlEncoder, UrlEncoder, ISystemClock) |
Zastaralé.
Inicializuje novou instanci objektu 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)
Parametry
- backchannel
- HttpClient
- htmlEncoder
- HtmlEncoder
Platí pro
OpenIdConnectHandler(IOptionsMonitor<OpenIdConnectOptions>, ILoggerFactory, HtmlEncoder, UrlEncoder)
- Zdroj:
- OpenIdConnectHandler.cs
- Zdroj:
- OpenIdConnectHandler.cs
Inicializuje novou instanci objektu 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)
Parametry
- options
- IOptionsMonitor<OpenIdConnectOptions>
Monitorování pro sledování změn v OpenIdConnectOptions.
- logger
- ILoggerFactory
Hodnota ILoggerFactory
- htmlEncoder
- HtmlEncoder
Hodnota HtmlEncoder
- encoder
- UrlEncoder
Hodnota UrlEncoder
Platí pro
OpenIdConnectHandler(IOptionsMonitor<OpenIdConnectOptions>, ILoggerFactory, HtmlEncoder, UrlEncoder, ISystemClock)
- Zdroj:
- OpenIdConnectHandler.cs
- Zdroj:
- OpenIdConnectHandler.cs
- Zdroj:
- OpenIdConnectHandler.cs
- Zdroj:
- OpenIdConnectHandler.cs
- Zdroj:
- OpenIdConnectHandler.cs
- Zdroj:
- OpenIdConnectHandler.cs
- Zdroj:
- OpenIdConnectHandler.cs
- Zdroj:
- OpenIdConnectHandler.cs
- Zdroj:
- OpenIdConnectHandler.cs
Upozornění
ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.
Inicializuje novou instanci objektu 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)
Parametry
- options
- IOptionsMonitor<OpenIdConnectOptions>
Monitorování pro sledování změn v OpenIdConnectOptions.
- logger
- ILoggerFactory
Hodnota ILoggerFactory
- htmlEncoder
- HtmlEncoder
Hodnota HtmlEncoder
- encoder
- UrlEncoder
Hodnota UrlEncoder
- clock
- ISystemClock
Hodnota ISystemClock
- Atributy