Kaynağa Gözat

Clarifies that restored user is from local cache (#351)

Camden King 2 yıl önce
ebeveyn
işleme
b45a837011

+ 3 - 1
GoogleSignIn/Sources/Public/GoogleSignIn/GIDSignIn.h

@@ -86,7 +86,9 @@ typedef NS_ERROR_ENUM(kGIDSignInErrorDomain, GIDSignInErrorCode) {
 /// @return `YES` if there is a previous user sign-in saved in keychain.
 - (BOOL)hasPreviousSignIn;
 
-/// Attempts to restore a previous user sign-in without interaction.
+/// Attempts to restore a previous user sign-in without interaction. 
+///
+/// Restores user from the local cache and refreshes tokens if they have expired (>1 hour).
 ///
 /// @param completion The block that is called on completion.  This block will be called asynchronously
 ///     on the main queue.