Table of Contents

Method PrefetchCredentials

Namespace
PowerSync.Common.Client.Sync.Stream
Assembly
PowerSync.Common.dll

PrefetchCredentials()

Fetch a new set of credentials and cache it. Until this call succeeds, GetCredentials will still return the old credentials. This may be called before the current credentials have expired.

public Task<PowerSyncCredentials?> PrefetchCredentials()

Returns

Task<PowerSyncCredentials>