SupabasePluginProvider

A plugin provider is used to create a plugin instance. Typically inherited by a companion object of the plugin

Properties

Link copied to clipboard
abstract val key: String

The key of this plugin. This key is used to identify the plugin within the PluginManager

Link copied to clipboard
abstract val logger: SupabaseLogger

The logger used in this plugin.

Functions

Link copied to clipboard
abstract fun create(supabaseClient: SupabaseClient, config: Config): PluginInstance

Create an instance of this plugin using the supabaseClient and config

Link copied to clipboard
abstract fun createConfig(init: Config.() -> Unit): Config

Create a config for this plugin using the init function

Link copied to clipboard
open fun setup(builder: SupabaseClientBuilder, config: Config)

Change the SupabaseClientBuilder using the config