Create a Custom Account Plugin #

To build off existing Account Plugin features and create your own Account Plugin, you’ll need to do the following:

  1. Implement the Account Plugin
  2. Configure your Account Plugin

Implement the Account Plugin #

Implement the AccountPlugin interface:

class DemoAccountPlugin(
  val service: Service, 
  val contentDataNodeService: ContentDataNodeService
) : AccountPlugin {}

Configure the Account Plugin #

To enable your custom Account Plugin, add this config in your yaml:

social:
  pluginConfigs:
    AccountService.accountPlugin:
      class: "demo.account.DemoAccountPlugin"