AI-generated Key Takeaways
- 
          GIDConfigurationrepresents the client configuration provided by the developer.
- 
          GIDGoogleUserrepresents a signed-in user, andGIDProfileDatarepresents their basic profile information.
- 
          GIDSignInis used to sign in users and manage their session, whileGIDSignInButtonprovides the "Sign in with Google" button.
- 
          GIDSignInResultis a helper object containing the result of a sign-in or addScopes flow, andGIDTokenrepresents an OAuth2 or OpenID Connect token.
Classes
The following classes are available globally.
- 
                  
                  This class represents the client configuration provided by the developer. DeclarationSwift class GIDConfiguration : NSObject, NSCopying, NSSecureCodingObjective-C @interface GIDConfiguration : NSObject <NSCopying, NSSecureCoding>
- 
                  
                  This class represents a signed-in user. DeclarationSwift class GIDGoogleUser : NSObject, NSSecureCodingObjective-C @interface GIDGoogleUser : NSObject <NSSecureCoding>
- 
                  
                  This class represents the basic profile information of a GIDGoogleUser.DeclarationSwift class GIDProfileData : NSObject, NSCopying, NSSecureCodingObjective-C @interface GIDProfileData : NSObject <NSCopying, NSSecureCoding>
- 
                  
                  This class is used to sign in users with their Google account and manage their session. For reference, please see “Google Sign-In for iOS and macOS” at https://developers.google.com/identity/sign-in/ios DeclarationSwift class GIDSignIn : NSObjectObjective-C @interface GIDSignIn : NSObject
- 
                  
                  This class provides the “Sign in with Google” button. You can instantiate this class programmatically or from a NIB file. You should connect this control to an IBAction, or something similar, that calls signInWithPresentingViewController:completion: onGIDSignInand add it to your view hierarchy.DeclarationObjective-C @interface GIDSignInButton : UIControl
- 
                  
                  A helper object that contains the result of a successful signIn or addScopes flow. DeclarationSwift class GIDSignInResult : NSObjectObjective-C @interface GIDSignInResult : NSObject
- 
                  
                  This class represents an OAuth2 or OpenID Connect token. DeclarationSwift class GIDToken : NSObject, NSSecureCodingObjective-C @interface GIDToken : NSObject <NSSecureCoding>