diff options
author | 2017-09-01 13:38:12 -0700 | |
---|---|---|
committer | 2017-09-01 13:38:12 -0700 | |
commit | 36c20d92b7a1f4ac5cb950df61d381ee60be9670 (patch) | |
tree | aff9aa101a52b54ce04357766ef1d3c3c9b380f6 /Firebase/Auth/Source/FIRAuthErrorUtils.h | |
parent | 0ce42970fcc94116700c9e6914bc97ce4dd73d00 (diff) |
Add FirAuthUrlPresenter (#222)
* Adds FIRAuthURLPResenter and FIRAuthUIDelegate
Diffstat (limited to 'Firebase/Auth/Source/FIRAuthErrorUtils.h')
-rw-r--r-- | Firebase/Auth/Source/FIRAuthErrorUtils.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Firebase/Auth/Source/FIRAuthErrorUtils.h b/Firebase/Auth/Source/FIRAuthErrorUtils.h index c2c9171..4fdfe9b 100644 --- a/Firebase/Auth/Source/FIRAuthErrorUtils.h +++ b/Firebase/Auth/Source/FIRAuthErrorUtils.h @@ -451,6 +451,20 @@ NS_ASSUME_NONNULL_BEGIN */ + (NSError *)captchaCheckFailedErrorWithMessage:(nullable NSString *)message; +/** @fn webContextAlreadyPresentedErrorWithMessage: + @brief Constructs an @c NSError with the @c FIRAuthErrorCodeWebContextAlreadyPresented code. + @param message Error message from the backend, if any. + @return The NSError instance associated with the given FIRAuthError. + */ ++ (NSError *)webContextAlreadyPresentedErrorWithMessage:(nullable NSString *)message; + +/** @fn webContextCancelledErrorWithMessage: + @brief Constructs an @c NSError with the @c FIRAuthErrorCodeWebContextCancelledcode. + @param message Error message from the backend, if any. + @return The NSError instance associated with the given FIRAuthError. + */ ++ (NSError *)webContextCancelledErrorWithMessage:(nullable NSString *)message; + /** @fn keychainErrorWithFunction:status: @brief Constructs an @c NSError with the @c FIRAuthErrorCodeKeychainError code. @param keychainFunction The keychain function which was invoked and yielded an unexpected |