Freigeben über


OAuthHandler<TOptions> Konstruktoren

Definition

Überlädt

OAuthHandler<TOptions>(HttpClient)
OAuthHandler<TOptions>(IOptionsMonitor<TOptions>, ILoggerFactory, UrlEncoder)

Initialisiert eine neue Instanz von OAuthHandler<TOptions>.

OAuthHandler<TOptions>(IOptionsMonitor<TOptions>, ILoggerFactory, UrlEncoder, ISystemClock)
Veraltet.

Initialisiert eine neue Instanz von OAuthHandler<TOptions>.

OAuthHandler<TOptions>(HttpClient)

public:
 OAuthHandler(System::Net::Http::HttpClient ^ backchannel);
public OAuthHandler (System.Net.Http.HttpClient backchannel);
new Microsoft.AspNetCore.Authentication.OAuth.OAuthHandler<'Options (requires 'Options :> Microsoft.AspNetCore.Builder.OAuthOptions)> : System.Net.Http.HttpClient -> Microsoft.AspNetCore.Authentication.OAuth.OAuthHandler<'Options (requires 'Options :> Microsoft.AspNetCore.Builder.OAuthOptions)>
Public Sub New (backchannel As HttpClient)

Parameter

backchannel
HttpClient

Gilt für:

OAuthHandler<TOptions>(IOptionsMonitor<TOptions>, ILoggerFactory, UrlEncoder)

Quelle:
OAuthHandler.cs

Initialisiert eine neue Instanz von OAuthHandler<TOptions>.

public OAuthHandler (Microsoft.Extensions.Options.IOptionsMonitor<TOptions> options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.UrlEncoder encoder);
new Microsoft.AspNetCore.Authentication.OAuth.OAuthHandler<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions and 'Options : (new : unit -> 'Options))> : Microsoft.Extensions.Options.IOptionsMonitor<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions and 'Options : (new : unit -> 'Options))> * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.UrlEncoder -> Microsoft.AspNetCore.Authentication.OAuth.OAuthHandler<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions and 'Options : (new : unit -> 'Options))>
Public Sub New (options As IOptionsMonitor(Of TOptions), logger As ILoggerFactory, encoder As UrlEncoder)

Parameter

options
IOptionsMonitor<TOptions>

Der Monitor für die Optionen instance.

encoder
UrlEncoder

Die UrlEncoder.

Gilt für:

OAuthHandler<TOptions>(IOptionsMonitor<TOptions>, ILoggerFactory, UrlEncoder, ISystemClock)

Quelle:
OAuthHandler.cs
Quelle:
OAuthHandler.cs
Quelle:
OAuthHandler.cs

Achtung

ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.

Initialisiert eine neue Instanz von OAuthHandler<TOptions>.

public:
 OAuthHandler(Microsoft::Extensions::Options::IOptionsMonitor<TOptions> ^ options, Microsoft::Extensions::Logging::ILoggerFactory ^ logger, System::Text::Encodings::Web::UrlEncoder ^ encoder, Microsoft::AspNetCore::Authentication::ISystemClock ^ clock);
public OAuthHandler (Microsoft.Extensions.Options.IOptionsMonitor<TOptions> options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.UrlEncoder encoder, Microsoft.AspNetCore.Authentication.ISystemClock clock);
[System.Obsolete("ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.")]
public OAuthHandler (Microsoft.Extensions.Options.IOptionsMonitor<TOptions> options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.UrlEncoder encoder, Microsoft.AspNetCore.Authentication.ISystemClock clock);
new Microsoft.AspNetCore.Authentication.OAuth.OAuthHandler<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions and 'Options : (new : unit -> 'Options))> : Microsoft.Extensions.Options.IOptionsMonitor<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions and 'Options : (new : unit -> 'Options))> * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.UrlEncoder * Microsoft.AspNetCore.Authentication.ISystemClock -> Microsoft.AspNetCore.Authentication.OAuth.OAuthHandler<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions and 'Options : (new : unit -> 'Options))>
[<System.Obsolete("ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.")>]
new Microsoft.AspNetCore.Authentication.OAuth.OAuthHandler<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions and 'Options : (new : unit -> 'Options))> : Microsoft.Extensions.Options.IOptionsMonitor<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions and 'Options : (new : unit -> 'Options))> * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.UrlEncoder * Microsoft.AspNetCore.Authentication.ISystemClock -> Microsoft.AspNetCore.Authentication.OAuth.OAuthHandler<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions and 'Options : (new : unit -> 'Options))>
Public Sub New (options As IOptionsMonitor(Of TOptions), logger As ILoggerFactory, encoder As UrlEncoder, clock As ISystemClock)

Parameter

options
IOptionsMonitor<TOptions>

Der Monitor für die Optionen instance.

encoder
UrlEncoder

Die UrlEncoder.

Attribute

Gilt für: