12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
-
-
- #import "FIRAuthCredential_Internal.h"
-
- NS_ASSUME_NONNULL_BEGIN
-
- @implementation FIRAuthCredential
-
- - (instancetype)init {
- @throw [NSException exceptionWithName:@"Attempt to call unavailable initializer."
- reason:@"This class is an abstract base class. It's init method "
- "should not be called directly."
- userInfo:nil];
- }
-
- - (nullable instancetype)initWithProvider:(NSString *)provider {
- self = [super init];
- if (self) {
- _provider = [provider copy];
- }
- return self;
- }
-
- - (void)prepareVerifyAssertionRequest:(FIRVerifyAssertionRequest *)request {
- @throw [NSException exceptionWithName:@"Attempt to call virtual method."
- reason:@"This method must be overridden by a subclass."
- userInfo:nil];
- }
-
- @end
-
- NS_ASSUME_NONNULL_END
|