# GoogleSignIn Framework Reference

# Classes

The following classes are available globally.
- `


  ### [GIDConfiguration](https://developers.google.com/identity/sign-in/ios/reference/Classes/GIDConfiguration)


  ` This class represents the client configuration provided by the developer.

  #### Declaration

  Swift

      class GIDConfiguration : NSObject, NSCopying, NSSecureCoding

  Objective-C

      @interface GIDConfiguration : NSObject <NSCopying, NSSecureCoding>

- `


  ### [GIDGoogleUser](https://developers.google.com/identity/sign-in/ios/reference/Classes/GIDGoogleUser)


  ` This class represents a signed-in user.

  #### Declaration

  Swift

      class GIDGoogleUser : NSObject, NSSecureCoding

  Objective-C

      @interface GIDGoogleUser : NSObject <NSSecureCoding>

- `


  ### [GIDProfileData](https://developers.google.com/identity/sign-in/ios/reference/Classes/GIDProfileData)


  ` This class represents the basic profile information of a `https://developers.google.com/identity/sign-in/ios/reference/Classes/GIDGoogleUser`.

  #### Declaration

  Swift

      class GIDProfileData : NSObject, NSCopying, NSSecureCoding

  Objective-C

      @interface GIDProfileData : NSObject <NSCopying, NSSecureCoding>

- `


  ### [GIDSignIn](https://developers.google.com/identity/sign-in/ios/reference/Classes/GIDSignIn)


  ` 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>

  #### Declaration

  Swift

      class GIDSignIn : NSObject

  Objective-C

      @interface GIDSignIn : NSObject

- `


  ### [GIDSignInButton](https://developers.google.com/identity/sign-in/ios/reference/Classes/GIDSignInButton)


  ` 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: on `https://developers.google.com/identity/sign-in/ios/reference/Classes/GIDSignIn` and add it to your view
  hierarchy.

  #### Declaration

  Objective-C

      @interface GIDSignInButton : UIControl

- `


  ### [GIDSignInResult](https://developers.google.com/identity/sign-in/ios/reference/Classes/GIDSignInResult)


  ` A helper object that contains the result of a successful signIn or addScopes flow.

  #### Declaration

  Swift

      class GIDSignInResult : NSObject

  Objective-C

      @interface GIDSignInResult : NSObject

- `


  ### [GIDToken](https://developers.google.com/identity/sign-in/ios/reference/Classes/GIDToken)


  ` This class represents an OAuth2 or OpenID Connect token.

  #### Declaration

  Swift

      class GIDToken : NSObject, NSSecureCoding

  Objective-C

      @interface GIDToken : NSObject <NSSecureCoding>