AppBuilderExtension.AddMicrosoftIdentityWebApp Method
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.
Adds a protected web app.
public static Owin.IAppBuilder AddMicrosoftIdentityWebApp (this Owin.IAppBuilder app, Microsoft.Identity.Web.OWIN.OwinTokenAcquirerFactory tokenAcquirerFactory, Action<Microsoft.Identity.Abstractions.MicrosoftIdentityApplicationOptions>? configureMicrosoftIdentityApplicationOptions = default, Action<Microsoft.Owin.Security.OpenIdConnect.OpenIdConnectAuthenticationOptions>? updateOptions = default, string configurationSection = "AzureAd");
static member AddMicrosoftIdentityWebApp : Owin.IAppBuilder * Microsoft.Identity.Web.OWIN.OwinTokenAcquirerFactory * Action<Microsoft.Identity.Abstractions.MicrosoftIdentityApplicationOptions> * Action<Microsoft.Owin.Security.OpenIdConnect.OpenIdConnectAuthenticationOptions> * string -> Owin.IAppBuilder
<Extension()>
Public Function AddMicrosoftIdentityWebApp (app As IAppBuilder, tokenAcquirerFactory As OwinTokenAcquirerFactory, Optional configureMicrosoftIdentityApplicationOptions As Action(Of MicrosoftIdentityApplicationOptions) = Nothing, Optional updateOptions As Action(Of OpenIdConnectAuthenticationOptions) = Nothing, Optional configurationSection As String = "AzureAd") As IAppBuilder
Parameters
- app
- Owin.IAppBuilder
Application builder.
- tokenAcquirerFactory
- OwinTokenAcquirerFactory
Token acquirer factory.
- configureMicrosoftIdentityApplicationOptions
- Action<MicrosoftIdentityApplicationOptions>
Configure Microsoft authentication options.
- updateOptions
- Action<Microsoft.Owin.Security.OpenIdConnect.OpenIdConnectAuthenticationOptions>
Update the OWIN options if you want to finesse the OpenIdConnect options.
- configurationSection
- String
Configuration section in which to read the options.
Returns
Owin.IAppBuilder
The app builder to chain.
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin