Class FastCubeOptions
Namespace: FastReport.Olap.Web
Assembly: FastCube.Core.Web.dll
Options for FastCube middleware and service.
public class FastCubeOptions
Inheritance
Properties
Authorize
A function that determines who can access API. It should return true when the request client has access, false for a 401 to be returned. HttpRequest parameter is the current request.
public Func<HttpRequest, bool> Authorize { get; set; }
Property Value
CacheDuration
Reports' lifetime in minutes. If report is not used the specified time and there is no references to the object, it will be deleted from cache. Default value: "15".
public int CacheDuration { get; set; }
Property Value
RouteBasePath
Base url for API. Default value: "/_fc".
public string RouteBasePath { get; set; }