Page Summary
-
GIDSignInResult is a helper object containing the result of a successful signIn or addScopes flow.
-
The
userproperty provides the updated GIDGoogleUser instance for the user. -
The
serverAuthCodeproperty provides an OAuth2 authorization code for the home server. -
The
newandinitmethods are unsupported.
GIDSignInResult
@interface GIDSignInResult : NSObjectA helper object that contains the result of a successful signIn or addScopes flow.
-
The updated
GIDGoogleUserinstance 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;