コード例 #1
0
 public static IApplicationBuilder UseProtectLocalOnly(this IApplicationBuilder builder, ProtectLocalOnlyOptions options)
 {
     return builder.UseMiddleware<ProtectLocalOnly>(options);
 }
コード例 #2
0
 public ProtectLocalOnly(RequestDelegate next, ProtectLocalOnlyOptions options, IOptions<FiltersConfig> settings, ILogger<OptOutOptInFilterProvider> logger)
 {
     _next = next;
     _settings = settings;
     _logger = logger;
 }
コード例 #3
0
 public ProtectLocalOnly(RequestDelegate next, ProtectLocalOnlyOptions options, IOptions <FiltersConfig> settings, ILogger <OptOutOptInFilterProvider> logger)
 {
     _next     = next;
     _settings = settings;
     _logger   = logger;
 }
コード例 #4
0
 public static IApplicationBuilder UseProtectLocalOnly(this IApplicationBuilder builder, ProtectLocalOnlyOptions options)
 {
     return(builder.UseMiddleware <ProtectLocalOnly>(options));
 }