aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firebase/Auth
diff options
context:
space:
mode:
authorGravatar Zsika Phillip <protocol86@users.noreply.github.com>2017-09-22 11:03:08 -0700
committerGravatar GitHub <noreply@github.com>2017-09-22 11:03:08 -0700
commit1602391bf8a9b6d3247716e3bf7b9f27dec8d2b6 (patch)
tree595fea584a0d8a917328f08265afb7522cfd10bd /Firebase/Auth
parent59553af237b982bab18637e256c840e1a45954c8 (diff)
Removes user meta from public API (#308)
* Removes user meta from public API * remove unused import removes unused import * Removes Swift Name
Diffstat (limited to 'Firebase/Auth')
-rw-r--r--Firebase/Auth/Source/FIRUserMetadata.h (renamed from Firebase/Auth/Source/Public/FIRUserMetadata.h)3
-rw-r--r--Firebase/Auth/Source/FIRUser_Internal.h5
-rw-r--r--Firebase/Auth/Source/Public/FIRUser.h5
-rw-r--r--Firebase/Auth/Source/Public/FirebaseAuth.h1
4 files changed, 5 insertions, 9 deletions
diff --git a/Firebase/Auth/Source/Public/FIRUserMetadata.h b/Firebase/Auth/Source/FIRUserMetadata.h
index 1b72ee1..a93b148 100644
--- a/Firebase/Auth/Source/Public/FIRUserMetadata.h
+++ b/Firebase/Auth/Source/FIRUserMetadata.h
@@ -16,14 +16,11 @@
#import <Foundation/Foundation.h>
-#import "FIRAuthSwiftNameSupport.h"
-
NS_ASSUME_NONNULL_BEGIN
/** @class FIRUserMetdata
@brief A data class representing the metadata corresponding to a Firebase user.
*/
-FIR_SWIFT_NAME(UserMetadata)
@interface FIRUserMetadata : NSObject
/** @property lastSignInDate
diff --git a/Firebase/Auth/Source/FIRUser_Internal.h b/Firebase/Auth/Source/FIRUser_Internal.h
index 9a069bb..9e26301 100644
--- a/Firebase/Auth/Source/FIRUser_Internal.h
+++ b/Firebase/Auth/Source/FIRUser_Internal.h
@@ -47,6 +47,11 @@ typedef void(^FIRRetrieveUserCallback)(FIRUser *_Nullable user, NSError *_Nullab
*/
@property(nonatomic, copy, readonly) NSDate *accessTokenExpirationDate;
+/** @property metadata
+ @brief Metadata associated with the Firebase user in question.
+ */
+@property(nonatomic, readonly, nonnull) FIRUserMetadata *metadata;
+
/** @fn retrieveUserWithAuth:accessToken:accessTokenExpirationDate:refreshToken:callback:
@brief Constructs a user with Secure Token Service tokens, and obtains user details from the
getAccountInfo endpoint.
diff --git a/Firebase/Auth/Source/Public/FIRUser.h b/Firebase/Auth/Source/Public/FIRUser.h
index f0a5619..ecbbd8c 100644
--- a/Firebase/Auth/Source/Public/FIRUser.h
+++ b/Firebase/Auth/Source/Public/FIRUser.h
@@ -85,11 +85,6 @@ FIR_SWIFT_NAME(User)
*/
@property(nonatomic, readonly, nonnull) NSArray<id<FIRUserInfo>> *providerData;
-/** @property metadata
- @brief Metadata associated with the Firebase user in question.
- */
-@property(nonatomic, readonly, nonnull) FIRUserMetadata *metadata;
-
/** @fn init
@brief This class should not be instantiated.
@remarks To retrieve the current user, use @c FIRAuth.currentUser. To sign a user
diff --git a/Firebase/Auth/Source/Public/FirebaseAuth.h b/Firebase/Auth/Source/Public/FirebaseAuth.h
index 0cc5905..15699ff 100644
--- a/Firebase/Auth/Source/Public/FirebaseAuth.h
+++ b/Firebase/Auth/Source/Public/FirebaseAuth.h
@@ -32,7 +32,6 @@
#import "FIRTwitterAuthProvider.h"
#import "FIRUser.h"
#import "FIRUserInfo.h"
-#import "FIRUserMetadata.h"
#if TARGET_OS_IOS
#import "FIRAuthUIDelegate.h"