fetchCredentials abstract method

Future<PowerSyncCredentials?> fetchCredentials()

Get credentials for PowerSync.

This should always fetch a fresh set of credentials - don't use cached values.

Return null if the user is not signed in. Throw an error if credentials cannot be fetched due to a network error or other temporary error.

This token is kept for the duration of a sync connection.


Future<PowerSyncCredentials?> fetchCredentials();