Skip to content

EsmAccessPolicy class

namespace: Serenity.Web   assembly: Serenity.Net.Web

Determines who can load the files under an esm folder from the build.esm-manifest in the folder and EsmAccessControlOptions. See EsmAccessControlOptions for the rules.

public class EsmAccessPolicy

Public Members

name description
EsmAccessPolicy(…) Creates a new instance.
ManifestCheckInterval { get; set; } How often the manifest of an esm folder is checked for changes, e.g. while tsbuild is watching in development. Default is 2 seconds.
GetAccess(…) Gets the access to the file at the request path.
GetEntryPermission(…) Gets the permission of an entry point, see EsmAccessControlOptions for the rules.

See Also