2017-03-09 15:26:28 +00:00
|
|
|
#ifndef RNFirebaseAuth_h
|
|
|
|
#define RNFirebaseAuth_h
|
2017-08-11 15:07:32 +00:00
|
|
|
#import <Foundation/Foundation.h>
|
2017-03-09 15:26:28 +00:00
|
|
|
|
2017-05-25 14:33:41 +00:00
|
|
|
#if __has_include(<FirebaseAuth/FIRAuth.h>)
|
2017-08-17 16:25:51 +00:00
|
|
|
#import <Firebase.h>
|
2017-08-11 15:07:32 +00:00
|
|
|
#import <React/RCTBridgeModule.h>
|
2017-05-31 14:53:08 +00:00
|
|
|
#import <React/RCTEventEmitter.h>
|
2017-05-25 14:33:41 +00:00
|
|
|
|
2017-07-17 19:56:08 +00:00
|
|
|
@interface RNFirebaseAuth : RCTEventEmitter <RCTBridgeModule> {};
|
|
|
|
@property NSMutableDictionary *authStateHandlers;
|
2017-09-21 15:48:54 +00:00
|
|
|
@property NSMutableDictionary *idTokenHandlers;
|
2017-03-09 15:26:28 +00:00
|
|
|
|
|
|
|
@end
|
|
|
|
|
2017-05-25 14:33:41 +00:00
|
|
|
#else
|
2017-08-11 15:07:32 +00:00
|
|
|
@interface RNFirebaseAuth : NSObject
|
2017-05-25 14:33:41 +00:00
|
|
|
@end
|
|
|
|
#endif
|
|
|
|
|
2017-03-09 15:26:28 +00:00
|
|
|
#endif
|