Today's Menu  Portugal
journal and plan nutrition
GIDProfileData.h
Go to the documentation of this file.
1 /*
2  * GIDProfileData.h
3  * Google Sign-In iOS SDK
4  *
5  * Copyright 2014 Google Inc.
6  *
7  * Use of this SDK is subject to the Google APIs Terms of Service:
8  * https://developers.google.com/terms/
9  */
10 
11 #import <Foundation/Foundation.h>
12 
13 // This class represents the basic profile information of a GIDGoogleUser.
14 @interface GIDProfileData : NSObject <NSCoding>
15 
16 // The Google user's email.
17 @property(nonatomic, readonly) NSString *email;
18 
19 // The Google user's full name.
20 @property(nonatomic, readonly) NSString *name;
21 
22 // The Google user's given name.
23 @property(nonatomic, readonly) NSString *givenName;
24 
25 // The Google user's family name.
26 @property(nonatomic, readonly) NSString *familyName;
27 
28 // Whether or not the user has profile image.
29 @property(nonatomic, readonly) BOOL hasImage;
30 
31 // Gets the user's profile image URL for the given dimension in pixels for each side of the square.
32 - (NSURL *)imageURLWithDimension:(NSUInteger)dimension;
33 
34 @end
NSString * givenName
NSString * email
NSString * familyName
NSString * name