Abstract
Creates an instance of DecorableFunction.
The configuration object for the object method.
The property key of the target object.
The target object.
Protected
authenticatorProtected
isProtected
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: anyProtected
Abstract
sendProtected
Sends an error message through the websocket connection.
The websocket connection.
The error message.
Optional
authError: booleanSets the authenticator for the decorated function.
The websocket authenticator.
Generated using TypeDoc
Represents the reference to an object method used for websocket routes and outbounds with support for authentication.