mirror of
https://github.com/firebase/firebase-ios-sdk
synced 2026-11-11 22:55:59 +05:45
* Private header exposed to internal Swift impl via private module
* Include all non-public headers in private module map
* Add TODO and #if out import
* Prefer <...> imports and fix API visibility. See more...
- The private module map enables us to selectively expose non-public
headers to Swift. Now, the internal APIs that were made public for the
sake of exposing to Swift can be made internal again. Swift files that
need access to non-public API should do the following:
@_implementationOnly import FirebaseAuth_Private
- Additionally, any public header imported into a non-public header
needs to use <...> syntax because the header is technically coming
from a different module (FirebaseAuth rather than FirebaseAuth_Private).
* Fix import typo
* Style
* More progress. Building for CocoaPods. Not for SPM
* Remove 'MyPrivateClass.h'
* Generate private module map
* Generate private module map followup
* Re-enable testing spec
* Style
* Remove unneeded module.modulemap
* Revert "Remove unneeded module.modulemap"
This reverts commit 3ac44c3570.
* Adjust header import since FIRAuthBackend was moved
* Get library building on iOS
* Builds on iOS
* Revert private module map and update gitignore
* Add TODO
* Wrap FirebaseAuth_Private import with #if COCOAPODS
* Modularize script with arg[0] for podspec name
* Generalize script more and remove private module map
* Revert unintentionally checked in changes
* re-style @objc(...) qualifier
* Fix check
* Fix SPM build
* Change API back to what it was originally
* Fix copyright
* Better error handling in script
38 lines
1.3 KiB
Objective-C
38 lines
1.3 KiB
Objective-C
/*
|
|
* Copyright 2017 Google
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
#import <FirebaseAuth/FIRUserMetadata.h>
|
|
#import <Foundation/Foundation.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
/** @extension FIRUserMetadata
|
|
@brief An internal class used to expose internal methods of FIRUserMetadata.
|
|
*/
|
|
@interface FIRUserMetadata () <NSSecureCoding>
|
|
|
|
/** @fn initWithCreationDate:lastSignInDate:
|
|
@brief Designated initializer.
|
|
@param creationDate The creation date of the corresponding user.
|
|
@param lastSignInDate The date of the last recorded sign-in of the corresponding user.
|
|
*/
|
|
- (instancetype)initWithCreationDate:(nullable NSDate *)creationDate
|
|
lastSignInDate:(nullable NSDate *)lastSignInDate NS_DESIGNATED_INITIALIZER;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|