C#: Start auto-refresh session (non-browser)
Starts the background refresh of the session, or resumes it after StopAutoRefresh().
- The client starts the refresh when it is created, as long as
ClientOptions.AutoRefreshToken is true, which is the default.
- Call it when your app returns to the foreground. If the session has expired, it is refreshed right away.
Examples
Resume the refresh when the app returns to the foreground
supabase.Auth.StartAutoRefresh();