예제 #1
0
 public static IServiceCollection AddAuthenticationAndAuthorization(this IServiceCollection services,
                                                                    IConfiguration configuration)
 {
     services.AddAuthentication(configuration);
     Requirement.AddAuthorization(services);
     return(services);
 }