GoogleSignIn Framework Reference

GIDSignInResult

@interface GIDSignInResult : NSObject

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

  • The updated GIDGoogleUser instance for the user who just completed the flow.

    Declaration

    Swift

    var user: GIDGoogleUser { get }

    Objective-C

    @property (nonatomic, readonly) GIDGoogleUser *_Nonnull user;
  • An OAuth2 authorization code for the home server.

    Declaration

    Swift

    var serverAuthCode: String? { get }

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *serverAuthCode;
  • Unsupported.

    Declaration

    Objective-C

    + (nonnull instancetype)new;
  • Unsupported.

    Declaration

    Objective-C

    - (nonnull instancetype)init;