/* * GIDProfileData.h * Google Sign-In iOS SDK * * Copyright 2014 Google Inc. * * Use of this SDK is subject to the Google APIs Terms of Service: * https://developers.google.com/terms/ */ #import /// This class represents the basic profile information of a `GIDGoogleUser`. @interface GIDProfileData : NSObject /// The Google user's email. @property(nonatomic, readonly) NSString *email; /// The Google user's full name. @property(nonatomic, readonly) NSString *name; /// The Google user's given name. @property(nonatomic, readonly) NSString *givenName; /// The Google user's family name. @property(nonatomic, readonly) NSString *familyName; /// Whether or not the user has profile image. @property(nonatomic, readonly) BOOL hasImage; /// Gets the user's profile image URL for the given dimension in pixels for each side of the square. /// /// @param dimension The desired height (and width) of the profile image. /// @return The URL of the user's profile image. - (NSURL *)imageURLWithDimension:(NSUInteger)dimension; @end