Swift: Retrieve a new session
- This method will refresh the session whether the current one is expired or not.
Examples
Refresh session using the current session
let session = try await supabase.auth.refreshSession()
Refresh session using a refresh token
let session = try await supabase.auth.refreshSession(refreshToken: "custom-refresh-token")