Partager via


MicrosoftAccountMiddleware Constructeur

Définition

Initialise un nouveau MicrosoftAccountMiddleware.

public:
 MicrosoftAccountMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::AspNetCore::DataProtection::IDataProtectionProvider ^ dataProtectionProvider, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, System::Text::Encodings::Web::UrlEncoder ^ encoder, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Authentication::SharedAuthenticationOptions ^> ^ sharedOptions, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::MicrosoftAccountOptions ^> ^ options);
public MicrosoftAccountMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.DataProtection.IDataProtectionProvider dataProtectionProvider, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, System.Text.Encodings.Web.UrlEncoder encoder, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Authentication.SharedAuthenticationOptions> sharedOptions, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.MicrosoftAccountOptions> options);
new Microsoft.AspNetCore.Authentication.MicrosoftAccount.MicrosoftAccountMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.AspNetCore.DataProtection.IDataProtectionProvider * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.UrlEncoder * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Authentication.SharedAuthenticationOptions> * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.MicrosoftAccountOptions> -> Microsoft.AspNetCore.Authentication.MicrosoftAccount.MicrosoftAccountMiddleware
Public Sub New (next As RequestDelegate, dataProtectionProvider As IDataProtectionProvider, loggerFactory As ILoggerFactory, encoder As UrlEncoder, sharedOptions As IOptions(Of SharedAuthenticationOptions), options As IOptions(Of MicrosoftAccountOptions))

Paramètres

next
RequestDelegate

Intergiciel suivant dans le pipeline HTTP à appeler.

dataProtectionProvider
IDataProtectionProvider
loggerFactory
ILoggerFactory
encoder
UrlEncoder
options
IOptions<MicrosoftAccountOptions>

Options de configuration pour le middleware.

S’applique à