PluginContext class is passed to the plugins as an argument of the init method.
It contains various accessors, constructors and helpers that allow to interact with Kuzzle.
This property is an instance of the PluginContextAccessors and contains various methods to interact with Kuzzle.
This property is an instance of the PluginContextConstructors and contains various constructors to interact with Kuzzle.
This property contains constructors that represent Kuzzle Errors Types.
The usage of this property is deprecated and Kuzzle Errors should be required from the
kuzzle package instead.
This property is not available in Typescript.
BadRequestError ExternalServiceError ForbiddenError GatewayTimeoutError InternalError KuzzleError NotFoundError PartialError PluginImplementationError PreconditionError ServiceUnavailableError SizeLimitError TooManyRequestsError UnauthorizedError
This property is an instance of the InternalLogger and allows to log messages.
See also the Internal Logger guide.
This property contains the application secrets that have been made available with the Secrets Vault.
|Decrypted application secrets|