Core
Framework v2.x
2

PluginContextAccessors #

The PluginContextAccessors instance is available through the PluginContext.accessors property.

It contains various instantiated classes and methods that allow to interact with Kuzzle.

cluster #

This property is an instance of the BackendCluster class, handling interactions with cluster nodes.

Type Description
BackendCluster
BackendCluster instance

sdk #

This property is an instance of the EmbeddedSDK class.

Type Description
EmbeddedSDK
EmbeddedSDK instance

See also the Embedded SDK guide.

storage #

This property is an instance of the PluginStorage class that allows to interact with the Plugin Private Storage.

Type Description
PluginStorage
PluginStorage instance

strategies #

This property is an instance of the PluginStrategy class that allows to dynamically add and remove Authentication Strategies.

Type Description
PluginStrategy
PluginStrategy instance

subscription #

This property is an instance of the Subscription class that allows to add and remove realtime subscriptions from the backend.

Type Description
Subscription
Subscription instance