Table of Contents

Namespace PowerSync.Common.Client.Connection

Classes

PowerSyncCredentials

Interfaces

IAuthenticator

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

ICustomCheckpointRequestConnector

An IAuthenticator capable of requesting checkpoints.

Implement this interface instead of IAuthenticator when uploads are processed asynchronously by the backend (for example through a message queue): The sync client as part of the PowerSync .NET SDK generates a checkpoint request id and hands it to your backend via this class, which is responsible for creating a matching checkpoint once the uploads preceding the request have been processed. For more details, see asynchronous backend uploads.

To use this connector, using CheckpointMode.Requests is required. Note that this requires PowerSync service version 1.24.0 or later.

IMutationUploader

Uploads local mutations (from INSERT, UPDATE and DELETE statements against the local database) to your source database.

While simple cases might use a protocol like PostgREST to write directly into the database, a custom backend is commonly used to validate uploaded mutations.

IPowerSyncBackendConnector