PowerSyncCredentials

@Serializable
data class PowerSyncCredentials(val endpoint: String, val token: String, val userId: String? = null)

Temporary credentials to connect to the PowerSync service.

Constructors

Link copied to clipboard
constructor(endpoint: String, token: String, userId: String? = null)

Properties

Link copied to clipboard

PowerSync endpoint, e.g. "https://myinstance.powersync.co".

Link copied to clipboard

Temporary token to authenticate against the service.

Link copied to clipboard
@SerialName(value = "user_id")
val userId: String? = null

User ID.

Functions

Link copied to clipboard
Link copied to clipboard
open override fun toString(): String