Skip to content

Commit

Permalink
Add FileName property to ReportRenderResult so that download name can…
Browse files Browse the repository at this point in the history
… be determined from the result without having
  • Loading branch information
volkanceylan committed May 4, 2024
1 parent c4b7bc2 commit 3b19a86
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/Serenity.Net.Services/Reporting/IReportCallbackInterceptor.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
namespace Serenity.Reporting;

/// <summary>
/// Abstraction for a report callback interceptor that is called by ~/Serenity.Extensions/Report/Render.
/// This is implemented by HtmlReportCallbackUrlInterceptor to implement impersonation and transient
/// granting during report callbacks.
/// </summary>
public interface IReportCallbackInterceptor
{
/// <summary>
/// Intercepts ReportController Render action callbacks.
/// </summary>
ReportRenderResult InterceptCallback(ReportRenderOptions options, Func<ReportRenderOptions, ReportRenderResult> action);
}

0 comments on commit 3b19a86

Please # to comment.