MicrosoftAccountHandler 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
MicrosoftAccountHandler(IOptionsMonitor<MicrosoftAccountOptions>, ILoggerFactory, UrlEncoder)
- Source:
- MicrosoftAccountHandler.cs
- Source:
- 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)
参数
- options
- IOptionsMonitor<MicrosoftAccountOptions>
- logger
- ILoggerFactory
- encoder
- UrlEncoder
适用于
MicrosoftAccountHandler(IOptionsMonitor<MicrosoftAccountOptions>, ILoggerFactory, UrlEncoder, ISystemClock)
- Source:
- MicrosoftAccountHandler.cs
- Source:
- MicrosoftAccountHandler.cs
- Source:
- MicrosoftAccountHandler.cs
- Source:
- MicrosoftAccountHandler.cs
- Source:
- MicrosoftAccountHandler.cs
- Source:
- MicrosoftAccountHandler.cs
- Source:
- MicrosoftAccountHandler.cs
- Source:
- MicrosoftAccountHandler.cs
- Source:
- 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)
参数
- options
- IOptionsMonitor<MicrosoftAccountOptions>
- logger
- ILoggerFactory
- encoder
- UrlEncoder
- clock
- ISystemClock
- 属性