Condividi tramite


MicrosoftAccountAppBuilderExtensions.UseMicrosoftAccountAuthentication Metodo

Definizione

Overload

UseMicrosoftAccountAuthentication(IApplicationBuilder)
Obsoleti.
Obsoleti.

UseMicrosoftAccountAuthentication è obsoleto. Configurare l'autenticazione MicrosoftAccount con AddAuthentication(). AggiungereMicrosoftAccount in ConfigureServices. Per informazioni dettagliate, vedere https://go.microsoft.com/fwlink/?linkid=845470.

UseMicrosoftAccountAuthentication(IApplicationBuilder, MicrosoftAccountOptions)
Obsoleti.
Obsoleti.

UseMicrosoftAccountAuthentication è obsoleto. Configurare l'autenticazione MicrosoftAccount con AddAuthentication(). AggiungereMicrosoftAccount in ConfigureServices. Per informazioni dettagliate, vedere https://go.microsoft.com/fwlink/?linkid=845470.

UseMicrosoftAccountAuthentication(IApplicationBuilder, MicrosoftAccountOptions)

Aggiunge il middleware all'oggetto MicrosoftAccountMiddleware specificato IApplicationBuilder, che abilita le funzionalità di autenticazione dell'account Microsoft.

UseMicrosoftAccountAuthentication(IApplicationBuilder)

Origine:
MicrosoftAccountAppBuilderExtensions.cs
Origine:
MicrosoftAccountAppBuilderExtensions.cs

Attenzione

UseMicrosoftAccountAuthentication is obsolete. Configure MicrosoftAccount authentication with AddAuthentication().AddMicrosoftAccount in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.

UseMicrosoftAccountAuthentication è obsoleto. Configurare l'autenticazione MicrosoftAccount con AddAuthentication(). AggiungereMicrosoftAccount in ConfigureServices. Per informazioni dettagliate, vedere https://go.microsoft.com/fwlink/?linkid=845470.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseMicrosoftAccountAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseMicrosoftAccountAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
[System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseMicrosoftAccountAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
[System.Obsolete("UseMicrosoftAccountAuthentication is obsolete. Configure MicrosoftAccount authentication with AddAuthentication().AddMicrosoftAccount in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseMicrosoftAccountAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseMicrosoftAccountAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
[<System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)>]
static member UseMicrosoftAccountAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
[<System.Obsolete("UseMicrosoftAccountAuthentication is obsolete. Configure MicrosoftAccount authentication with AddAuthentication().AddMicrosoftAccount in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)>]
static member UseMicrosoftAccountAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseMicrosoftAccountAuthentication (app As IApplicationBuilder) As IApplicationBuilder

Parametri

app
IApplicationBuilder

Oggetto IApplicationBuilder da aggiungere al gestore.

Restituisce

Riferimento a questa istanza dopo il completamento dell'operazione.

Attributi

Si applica a

UseMicrosoftAccountAuthentication(IApplicationBuilder, MicrosoftAccountOptions)

Origine:
MicrosoftAccountAppBuilderExtensions.cs
Origine:
MicrosoftAccountAppBuilderExtensions.cs

Attenzione

UseMicrosoftAccountAuthentication is obsolete. Configure MicrosoftAccount authentication with AddAuthentication().AddMicrosoftAccount in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.

UseMicrosoftAccountAuthentication è obsoleto. Configurare l'autenticazione MicrosoftAccount con AddAuthentication(). AggiungereMicrosoftAccount in ConfigureServices. Per informazioni dettagliate, vedere https://go.microsoft.com/fwlink/?linkid=845470.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseMicrosoftAccountAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Authentication::MicrosoftAccount::MicrosoftAccountOptions ^ options);
[System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseMicrosoftAccountAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Authentication.MicrosoftAccount.MicrosoftAccountOptions options);
[System.Obsolete("UseMicrosoftAccountAuthentication is obsolete. Configure MicrosoftAccount authentication with AddAuthentication().AddMicrosoftAccount in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseMicrosoftAccountAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Authentication.MicrosoftAccount.MicrosoftAccountOptions options);
[<System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)>]
static member UseMicrosoftAccountAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Authentication.MicrosoftAccount.MicrosoftAccountOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
[<System.Obsolete("UseMicrosoftAccountAuthentication is obsolete. Configure MicrosoftAccount authentication with AddAuthentication().AddMicrosoftAccount in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)>]
static member UseMicrosoftAccountAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Authentication.MicrosoftAccount.MicrosoftAccountOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseMicrosoftAccountAuthentication (app As IApplicationBuilder, options As MicrosoftAccountOptions) As IApplicationBuilder

Parametri

app
IApplicationBuilder

Oggetto IApplicationBuilder da aggiungere al gestore.

options
MicrosoftAccountOptions

Oggetto MicrosoftAccountOptions che specifica le opzioni per il gestore.

Restituisce

Riferimento a questa istanza dopo il completamento dell'operazione.

Attributi

Si applica a

UseMicrosoftAccountAuthentication(IApplicationBuilder, MicrosoftAccountOptions)

Aggiunge il middleware all'oggetto MicrosoftAccountMiddleware specificato IApplicationBuilder, che abilita le funzionalità di autenticazione dell'account Microsoft.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseMicrosoftAccountAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Builder::MicrosoftAccountOptions ^ options);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseMicrosoftAccountAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Builder.MicrosoftAccountOptions options);
static member UseMicrosoftAccountAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Builder.MicrosoftAccountOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseMicrosoftAccountAuthentication (app As IApplicationBuilder, options As MicrosoftAccountOptions) As IApplicationBuilder

Parametri

app
IApplicationBuilder

Oggetto IApplicationBuilder da aggiungere al middleware.

options
MicrosoftAccountOptions

Oggetto MicrosoftAccountOptions che specifica le opzioni per il middleware.

Restituisce

Riferimento a questa istanza dopo il completamento dell'operazione.

Si applica a