예제 #1
0
 public static AuthenticationBuilder AddAzureAd(this AuthenticationBuilder builder)
 => builder.AddAzureAd(_ => { });
 public static AuthenticationBuilder AddAzureADBearer(this AuthenticationBuilder builder, Action<AzureADOptions> configureOptions) =>
     builder.AddAzureADBearer(
         AzureADDefaults.BearerAuthenticationScheme,
         AzureADDefaults.JwtBearerAuthenticationScheme,
         configureOptions);
예제 #3
0
 protected abstract void RegisterAuth(AuthenticationBuilder services, Action <TOptions> configure);