Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-tennert committed Dec 8, 2024
1 parent 3da1363 commit ab63467
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ sealed interface Realtime : MainPlugin<Realtime.Config>, CustomSerializationPlug
var disconnectOnNoSubscriptions: Boolean = true,
): MainConfig(), CustomSerializationConfig {

/**
* A custom access token provider. If this is set, the [SupabaseClient] will not be used to resolve the access token.
*/
var accessToken: suspend SupabaseClient.() -> String? = { resolveAccessToken(realtime, keyAsFallback = false) }
set(value) {
logger.w { "You are setting a custom access token provider. This can lead to unexpected behavior." }
Expand Down

0 comments on commit ab63467

Please sign in to comment.