다음을 통해 공유


OAuthHandler<TOptions> 생성자

정의

오버로드

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

OAuthHandler<TOptions>의 새 인스턴스를 초기화합니다.

OAuthHandler<TOptions>(IOptionsMonitor<TOptions>, ILoggerFactory, UrlEncoder, ISystemClock)
사용되지 않음.

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)

매개 변수

backchannel
HttpClient

적용 대상

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

Source:
OAuthHandler.cs

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)

매개 변수

options
IOptionsMonitor<TOptions>

옵션에 대한 모니터가 instance.

적용 대상

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

Source:
OAuthHandler.cs
Source:
OAuthHandler.cs
Source:
OAuthHandler.cs

주의

ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.

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)

매개 변수

options
IOptionsMonitor<TOptions>

옵션에 대한 모니터가 instance.

특성

적용 대상