Share via


MicrosoftAccountHandler Constructors

Definition

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

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

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

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

encoder
UrlEncoder
clock
ISystemClock
Attributes

Applies to