public static IApplicationBuilder UseProtectFolder(this IApplicationBuilder builder, ProtectFolderOptions options) { return(builder.UseMiddleware <ProtectFolder>(options)); }
public static IApplicationBuilder UseProtectFolder(this IApplicationBuilder builder, ProtectFolderOptions options) { return builder.UseMiddleware<ProtectFolder>(options); }
public ProtectFolder(RequestDelegate next, ProtectFolderOptions options) { _next = next; _path = options.Path; _policyName = options.PolicyName; }
public ProtectFolder(RequestDelegate next, ProtectFolderOptions options) { _next = next; _path = options.Path; _policyName = options.PolicyName; }