@@ -33,25 +33,25 @@ final class GoogleSignInAuthenticator {
3333 }
3434
3535
36- #if os(iOS)
36+ #if os(iOS)
3737 /// Signs in the user based upon the selected account.
3838 /// - parameter rootViewController: The `UIViewController` to use during the sign in flow.
39- /// - returns: The signed in `GIDGoogleUser `.
39+ /// - returns: The resulting`GIDUserAuth `.
4040 /// - throws: Any error that may arise during the sign in process.
4141 func signIn( with rootViewController: UIViewController ) async throws -> GIDUserAuth {
4242 return try await GIDSignIn . sharedInstance. signIn ( withPresenting: rootViewController)
4343 }
44- #endif
44+ #endif
4545
46- #if os(macOS)
46+ #if os(macOS)
4747 /// Signs in the user based upon the selected account.
4848 /// - parameter window: The `NSWindow` to use during the sign in flow.
49- /// - returns: The signed in `GIDGoogleUser `.
49+ /// - returns: The resulting`GIDUserAuth `.
5050 /// - throws: Any error that may arise during the sign in process.
5151 func signIn( with window: NSWindow ) async throws -> GIDUserAuth {
5252 return try await GIDSignIn . sharedInstance. signIn ( withPresenting: window)
5353 }
54- #endif
54+ #endif
5555
5656 /// Signs out the current user.
5757 func signOut( ) {
@@ -67,7 +67,7 @@ final class GoogleSignInAuthenticator {
6767#if os(iOS)
6868 /// Adds the birthday read scope for the current user.
6969 /// - parameter viewController: The `UIViewController` to use while authorizing the scope.
70- /// - returns: The `GIDGoogleUser` with the authorized scope .
70+ /// - returns: The resulting`GIDUserAuth` .
7171 /// - throws: Any error that may arise while authorizing the scope.
7272 func addBirthdayReadScope( viewController: UIViewController ) async throws -> GIDUserAuth {
7373 guard let currentUser = GIDSignIn . sharedInstance. currentUser else {
@@ -83,7 +83,7 @@ final class GoogleSignInAuthenticator {
8383#if os(macOS)
8484 /// Adds the birthday read scope for the current user.
8585 /// - parameter window: The `NSWindow` to use while authorizing the scope.
86- /// - returns: The `GIDGoogleUser` with the authorized scope .
86+ /// - returns: The resulting`GIDUserAuth` .
8787 /// - throws: Any error that may arise while authorizing the scope.
8888 func addBirthdayReadScope( window: NSWindow ) async throws -> GIDUserAuth {
8989 guard let currentUser = GIDSignIn . sharedInstance. currentUser else {
0 commit comments