SupabaseClientBuilder

Creates a new SupabaseClient with the given options.

Use createSupabaseClient to create a new instance of SupabaseClient.

Properties

Link copied to clipboard

Optional function for using a third-party authentication system with Supabase. The function should return an access token or ID token (JWT) by obtaining it from the third-party auth client library. Note that this function may be called concurrently and many times. Use memoization and locking techniques if this is not supported by the client libraries.

Link copied to clipboard
var coroutineDispatcher: CoroutineDispatcher

The CoroutineDispatcher used for launching long running jobs.

Link copied to clipboard

The default log level used for plugins.

Link copied to clipboard

The default serializer used to serialize and deserialize custom data types.

Link copied to clipboard
var httpEngine: HttpClientEngine?

Custom ktor http client engine. If null, an engine from the dependencies will be used.

Link copied to clipboard

Whether to ignore if supabaseUrl contains modules like 'realtime' or 'auth'. If false, an exception will be thrown.

Link copied to clipboard

The current operating system information.

Link copied to clipboard

Duration after network requests throw a HttpRequestTimeoutException

Link copied to clipboard

Whether to use HTTPS for network requests with the supabaseUrl

Functions

Link copied to clipboard
fun httpConfig(block: HttpClientConfig<*>.() -> Unit)

Add your own http configuration to SupabaseClient.httpClient

Link copied to clipboard