MicrosoftAccountHandler Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
MicrosoftAccountHandler(IOptionsMonitor<MicrosoftAccountOptions>, ILoggerFactory, UrlEncoder) |
Initializes a new instance of MicrosoftAccountHandler. |
MicrosoftAccountHandler(IOptionsMonitor<MicrosoftAccountOptions>, ILoggerFactory, UrlEncoder, ISystemClock) |
Obsolete.
Initializes a new instance of MicrosoftAccountHandler. |
MicrosoftAccountHandler(IOptionsMonitor<MicrosoftAccountOptions>, ILoggerFactory, UrlEncoder)
- Source:
- MicrosoftAccountHandler.cs
- Source:
- MicrosoftAccountHandler.cs
Initializes a new instance of 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)
Parameters
- options
- IOptionsMonitor<MicrosoftAccountOptions>
- logger
- ILoggerFactory
- encoder
- UrlEncoder
Applies to
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
Caution
ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.
Initializes a new instance of 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)
Parameters
- options
- IOptionsMonitor<MicrosoftAccountOptions>
- logger
- ILoggerFactory
- encoder
- UrlEncoder
- clock
- ISystemClock
- Attributes