/// <summary> /// Adds Azure Active Directory Authentication to your application. /// </summary> /// <param name="builder">The <see cref="AuthenticationBuilder"/>.</param> /// <param name="configureOptions">The <see cref="Action{AzureADOptions}"/> to configure the /// <see cref="AzureADOptions"/> /// </param> /// <returns>The <see cref="AuthenticationBuilder"/>.</returns> public static AuthenticationBuilder AddAzureAD(this AuthenticationBuilder builder, Action <AzureADOptions> configureOptions) => builder.AddAzureAD( AzureADDefaults.AuthenticationScheme, AzureADDefaults.OpenIdScheme, AzureADDefaults.CookieScheme, AzureADDefaults.DisplayName, configureOptions);