Skip to content

Commit b45a837

Browse files
authored
Clarifies that restored user is from local cache (#351)
1 parent b0bc583 commit b45a837

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

GoogleSignIn/Sources/Public/GoogleSignIn/GIDSignIn.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,9 @@ typedef NS_ERROR_ENUM(kGIDSignInErrorDomain, GIDSignInErrorCode) {
8686
/// @return `YES` if there is a previous user sign-in saved in keychain.
8787
- (BOOL)hasPreviousSignIn;
8888

89-
/// Attempts to restore a previous user sign-in without interaction.
89+
/// Attempts to restore a previous user sign-in without interaction.
90+
///
91+
/// Restores user from the local cache and refreshes tokens if they have expired (>1 hour).
9092
///
9193
/// @param completion The block that is called on completion. This block will be called asynchronously
9294
/// on the main queue.

0 commit comments

Comments
 (0)