Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions packages/gotrue/lib/src/gotrue_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -750,8 +750,9 @@ class GoTrueClient {
/// Sets the session data from [refreshToken] and returns the current session.
///
/// If [accessToken] is provided and not yet expired, the session is restored
/// directly from the supplied tokens without a network round-trip. The user
/// is fetched via [getUser] to populate the session's user object.
/// directly from the supplied tokens, skipping the `/token` refresh
/// round-trip. A `/user` request is still made to populate the session's
/// user object.
///
/// If [accessToken] is expired (or not provided), the method falls back to
/// calling [_callRefreshToken] with [refreshToken], matching the existing
Expand Down