/// <summary> /// Adds JWT Bearer authentication to your app for Azure Active Directory Applications. /// </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 AddAzureADBearer(this AuthenticationBuilder builder, Action <AzureADOptions> configureOptions) => builder.AddAzureADBearer( AzureADDefaults.BearerAuthenticationScheme, AzureADDefaults.JwtBearerAuthenticationScheme, configureOptions);