共用方式為


MicrosoftAccountHandler 建構函式

定義

多載

MicrosoftAccountHandler(IOptionsMonitor<MicrosoftAccountOptions>, ILoggerFactory, UrlEncoder)

初始化 MicrosoftAccountHandler 的新執行個體。

MicrosoftAccountHandler(IOptionsMonitor<MicrosoftAccountOptions>, ILoggerFactory, UrlEncoder, ISystemClock)
已淘汰.

初始化 MicrosoftAccountHandler 的新執行個體。

MicrosoftAccountHandler(IOptionsMonitor<MicrosoftAccountOptions>, ILoggerFactory, UrlEncoder)

來源:
MicrosoftAccountHandler.cs
來源:
MicrosoftAccountHandler.cs

初始化 MicrosoftAccountHandler 的新執行個體。

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

參數

encoder
UrlEncoder

適用於

MicrosoftAccountHandler(IOptionsMonitor<MicrosoftAccountOptions>, ILoggerFactory, UrlEncoder, ISystemClock)

來源:
MicrosoftAccountHandler.cs
來源:
MicrosoftAccountHandler.cs
來源:
MicrosoftAccountHandler.cs
來源:
MicrosoftAccountHandler.cs
來源:
MicrosoftAccountHandler.cs
來源:
MicrosoftAccountHandler.cs
來源:
MicrosoftAccountHandler.cs
來源:
MicrosoftAccountHandler.cs
來源:
MicrosoftAccountHandler.cs

警告

ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.

初始化 MicrosoftAccountHandler 的新執行個體。

public:
 MicrosoftAccountHandler(Microsoft::Extensions::Options::IOptionsMonitor<Microsoft::AspNetCore::Authentication::MicrosoftAccount::MicrosoftAccountOptions ^> ^ options, Microsoft::Extensions::Logging::ILoggerFactory ^ logger, System::Text::Encodings::Web::UrlEncoder ^ encoder, Microsoft::AspNetCore::Authentication::ISystemClock ^ clock);
public MicrosoftAccountHandler (Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.MicrosoftAccount.MicrosoftAccountOptions> 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 MicrosoftAccountHandler (Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.MicrosoftAccount.MicrosoftAccountOptions> options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.UrlEncoder encoder, Microsoft.AspNetCore.Authentication.ISystemClock clock);
new Microsoft.AspNetCore.Authentication.MicrosoftAccount.MicrosoftAccountHandler : Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.MicrosoftAccount.MicrosoftAccountOptions> * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.UrlEncoder * Microsoft.AspNetCore.Authentication.ISystemClock -> Microsoft.AspNetCore.Authentication.MicrosoftAccount.MicrosoftAccountHandler
[<System.Obsolete("ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.")>]
new Microsoft.AspNetCore.Authentication.MicrosoftAccount.MicrosoftAccountHandler : Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.AspNetCore.Authentication.MicrosoftAccount.MicrosoftAccountOptions> * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.UrlEncoder * Microsoft.AspNetCore.Authentication.ISystemClock -> Microsoft.AspNetCore.Authentication.MicrosoftAccount.MicrosoftAccountHandler
Public Sub New (options As IOptionsMonitor(Of MicrosoftAccountOptions), logger As ILoggerFactory, encoder As UrlEncoder, clock As ISystemClock)

參數

encoder
UrlEncoder
clock
ISystemClock
屬性

適用於