From 9c82235773a79f5ba3ddcdd871b01e43791f7d87 Mon Sep 17 00:00:00 2001 From: Camden King Date: Fri, 17 Nov 2023 12:29:42 -0500 Subject: [PATCH 1/4] updated doc for --- GoogleSignIn/Sources/Public/GoogleSignIn/GIDSignIn.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/GoogleSignIn/Sources/Public/GoogleSignIn/GIDSignIn.h b/GoogleSignIn/Sources/Public/GoogleSignIn/GIDSignIn.h index 5fa4dcdc..73016f83 100644 --- a/GoogleSignIn/Sources/Public/GoogleSignIn/GIDSignIn.h +++ b/GoogleSignIn/Sources/Public/GoogleSignIn/GIDSignIn.h @@ -86,7 +86,8 @@ 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. Uses cached user and doesn't refresh +/// tokens if the tokens haven't expired (<1 hour). /// /// @param completion The block that is called on completion. This block will be called asynchronously /// on the main queue. From eee1c4936c991f9969f578caf3cfd66e456ba64d Mon Sep 17 00:00:00 2001 From: Camden King Date: Thu, 30 Nov 2023 13:35:32 -0800 Subject: [PATCH 2/4] mend --- GoogleSignIn/Sources/Public/GoogleSignIn/GIDSignIn.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/GoogleSignIn/Sources/Public/GoogleSignIn/GIDSignIn.h b/GoogleSignIn/Sources/Public/GoogleSignIn/GIDSignIn.h index 73016f83..fd05c369 100644 --- a/GoogleSignIn/Sources/Public/GoogleSignIn/GIDSignIn.h +++ b/GoogleSignIn/Sources/Public/GoogleSignIn/GIDSignIn.h @@ -86,8 +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. Uses cached user and doesn't refresh -/// tokens if the tokens haven't expired (<1 hour). +/// Attempts to restore a previous user sign-in without interaction. +/// +/// Uses cached user and doesn't refresh tokens if the tokens haven't expired (<1 hour). /// /// @param completion The block that is called on completion. This block will be called asynchronously /// on the main queue. From 2d83dcd9d48ea2b56dfe7b78cdc7abb2dbcb0d6d Mon Sep 17 00:00:00 2001 From: Camden King Date: Thu, 30 Nov 2023 15:54:03 -0800 Subject: [PATCH 3/4] mend --- GoogleSignIn/Sources/Public/GoogleSignIn/GIDSignIn.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GoogleSignIn/Sources/Public/GoogleSignIn/GIDSignIn.h b/GoogleSignIn/Sources/Public/GoogleSignIn/GIDSignIn.h index fd05c369..e95c4c02 100644 --- a/GoogleSignIn/Sources/Public/GoogleSignIn/GIDSignIn.h +++ b/GoogleSignIn/Sources/Public/GoogleSignIn/GIDSignIn.h @@ -88,7 +88,7 @@ typedef NS_ERROR_ENUM(kGIDSignInErrorDomain, GIDSignInErrorCode) { /// Attempts to restore a previous user sign-in without interaction. /// -/// Uses cached user and doesn't refresh tokens if the tokens haven't expired (<1 hour). +/// 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. From 411fa8d63b7e0c16b9695d555e76575dac14e115 Mon Sep 17 00:00:00 2001 From: Camden King Date: Thu, 30 Nov 2023 15:55:39 -0800 Subject: [PATCH 4/4] mend --- GoogleSignIn/Sources/Public/GoogleSignIn/GIDSignIn.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GoogleSignIn/Sources/Public/GoogleSignIn/GIDSignIn.h b/GoogleSignIn/Sources/Public/GoogleSignIn/GIDSignIn.h index e95c4c02..2576b13d 100644 --- a/GoogleSignIn/Sources/Public/GoogleSignIn/GIDSignIn.h +++ b/GoogleSignIn/Sources/Public/GoogleSignIn/GIDSignIn.h @@ -88,7 +88,7 @@ typedef NS_ERROR_ENUM(kGIDSignInErrorDomain, GIDSignInErrorCode) { /// 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). +/// 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.