共用方式為


MicrosoftIdentityWebAppServiceCollectionExtensions Class

Definition

Extension for IServiceCollection for startup initialization.

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

Methods

AddMicrosoftIdentityWebAppAuthentication(IServiceCollection, IConfiguration, String, String, String, Boolean, String)

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

Applies to