* GoogleSignIn (4.4.0 -> 5.0.2) * GTMSessionFetcher (1.5.0 -> 1.7.2) * GoogleToolboxForMac (Removed)
38 lines
1.1 KiB
Objective-C
Executable File
38 lines
1.1 KiB
Objective-C
Executable File
/*
|
|
* 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 <Foundation/Foundation.h>
|
|
|
|
/// This class represents the basic profile information of a `GIDGoogleUser`.
|
|
@interface GIDProfileData : NSObject <NSCopying, NSSecureCoding>
|
|
|
|
/// 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
|