共用方式為


MicrosoftIdentityWebAppAuthenticationBuilderExtensions Class

Definition

Extensions for the AuthenticationBuilder for startup initialization.

public static class MicrosoftIdentityWebAppAuthenticationBuilderExtensions
type MicrosoftIdentityWebAppAuthenticationBuilderExtensions = class
Public Module MicrosoftIdentityWebAppAuthenticationBuilderExtensions
Inheritance
MicrosoftIdentityWebAppAuthenticationBuilderExtensions

Methods

AddMicrosoftIdentityWebApp(AuthenticationBuilder, Action<MicrosoftIdentityOptions>, Action<CookieAuthenticationOptions>, String, String, Boolean, String)

Add authentication with Microsoft identity platform.

AddMicrosoftIdentityWebApp(AuthenticationBuilder, IConfiguration, String, String, String, Boolean, String)

Add authentication to a web app with Microsoft identity platform. This method expects the configuration file will have a section, named "AzureAd" as default, with the necessary settings to initialize authentication options.

AddMicrosoftIdentityWebApp(AuthenticationBuilder, IConfigurationSection, String, String, Boolean, String)

Add authentication with Microsoft identity platform. This method expects the configuration file will have a section, named "AzureAd" as default, with the necessary settings to initialize authentication options.

Applies to