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:
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"