GoogleSignIn Framework Reference

  • GIDSignInResult is a helper object containing the result of a successful signIn or addScopes flow.

  • The user property provides the updated GIDGoogleUser instance for the user.

  • The serverAuthCode property provides an OAuth2 authorization code for the home server.

  • The new and init methods are unsupported.

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; 
    
Design a Mobile Site
View Site in Mobile | Classic
Share by: