Creates a new instance of the FileProvider class.
The label of the file provider.
The configuration object containing the target and property key.
Protected authenticatorPrivate decoratorProtected isThe label of the file provider.
Protected objThe configuration object for the object method.
Returns the decorated function with added authentication checks.
Returns the decorated function with added authentication checks.
Rest ...data: any[]Checks if the decorated function has an authenticator.
Protected authenticateOptional requestData: anyBinds the decorator configuration reference to the file provider.
The decorator configuration reference.
Protected sendHandles errors during the process
empty (unused)
error message
Optional authError: booleanSets the authenticator for the decorated function.
The websocket authenticator.
Generated using TypeDoc
Represents a file provider for serving files.