File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
Firebase/Auth/Source/AuthProvider/OAuth Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change 2323#import " FIRAuthBackend.h"
2424#import " FIRAuth_Internal.h"
2525#import " FIRAuthErrorUtils.h"
26- #import " FIRAuthExceptionUtils.h"
2726#import " FIRAuthGlobalWorkQueue.h"
2827#import " FIRAuthRequestConfiguration.h"
2928#import " FIRAuthWebUtils.h"
30- #import " FIRFacebookAuthProvider.h"
3129#import " FIROAuthCredential_Internal.h"
3230#import " FIROAuthCredential.h"
3331
@@ -167,12 +165,6 @@ - (void)getCredentialWithUIDelegate:(nullable id<FIRAuthUIDelegate>)UIDelegate
167165 @return An Instance of @c FIROAuthProvider.
168166 */
169167- (nullable instancetype )initWithProviderID : (NSString *)providerID auth : (FIRAuth *)auth {
170- if ([providerID isEqual: FIRFacebookAuthProviderID]) {
171- [FIRAuthExceptionUtils raiseInvalidParameterExceptionWithReason:
172- @" Sign in with Facebook is not supported via this method; the Facebook TOS "
173- " dictate that you must use the Facebook iOS SDK for Facebook login." ];
174- return nil ;
175- }
176168 self = [super init ];
177169 if (self) {
178170 _auth = auth;
You can’t perform that action at this time.
0 commit comments