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 23
23
#import " FIRAuthBackend.h"
24
24
#import " FIRAuth_Internal.h"
25
25
#import " FIRAuthErrorUtils.h"
26
- #import " FIRAuthExceptionUtils.h"
27
26
#import " FIRAuthGlobalWorkQueue.h"
28
27
#import " FIRAuthRequestConfiguration.h"
29
28
#import " FIRAuthWebUtils.h"
30
- #import " FIRFacebookAuthProvider.h"
31
29
#import " FIROAuthCredential_Internal.h"
32
30
#import " FIROAuthCredential.h"
33
31
@@ -167,12 +165,6 @@ - (void)getCredentialWithUIDelegate:(nullable id<FIRAuthUIDelegate>)UIDelegate
167
165
@return An Instance of @c FIROAuthProvider.
168
166
*/
169
167
- (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
- }
176
168
self = [super init ];
177
169
if (self) {
178
170
_auth = auth;
You can’t perform that action at this time.
0 commit comments