12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
-
-
- #import <Foundation/Foundation.h>
-
- @class FIRAuthAppCredential;
- @class FIRAuthKeychain;
-
- NS_ASSUME_NONNULL_BEGIN
-
-
- typedef void (^FIRAuthAppCredentialCallback)(FIRAuthAppCredential *credential);
-
-
- @interface FIRAuthAppCredentialManager : NSObject
-
-
- @property(nonatomic, strong, readonly, nullable) FIRAuthAppCredential *credential;
-
-
- @property(nonatomic, assign, readonly) NSUInteger maximumNumberOfPendingReceipts;
-
-
- - (instancetype)init NS_UNAVAILABLE;
-
-
- - (instancetype)initWithKeychain:(FIRAuthKeychain *)keychain NS_DESIGNATED_INITIALIZER;
-
-
- - (void)didStartVerificationWithReceipt:(NSString *)receipt
- timeout:(NSTimeInterval)timeout
- callback:(FIRAuthAppCredentialCallback)callback;
-
-
- - (BOOL)canFinishVerificationWithReceipt:(NSString *)receipt secret:(NSString *)secret;
-
-
- - (void)clearCredential;
-
- @end
-
- NS_ASSUME_NONNULL_END
|