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
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示