Authenticator

fun interface Authenticator(source)

Authenticates the PowerSync SDK against a PowerSync service, allowing it to download changes.

Inheritors

Functions

Link copied to clipboard

Invoked by the SDK when the PowerSync service has rejected credentials previously returned by Authenticator.resolveCredentials.

Link copied to clipboard
abstract suspend fun resolveCredentials(): String

Resolves a JWT to use when connecting to a PowerSync service.