aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firebase/Auth/Source/FIRAuthErrorUtils.h
diff options
context:
space:
mode:
authorGravatar Zsika Phillip <protocol86@users.noreply.github.com>2017-08-23 09:02:50 -0700
committerGravatar GitHub <noreply@github.com>2017-08-23 09:02:50 -0700
commit768c4058f3489917be7d433ad685b2f16d59aac4 (patch)
treea9ad6d452b03f518aae669316426eb3b3cbc45fa /Firebase/Auth/Source/FIRAuthErrorUtils.h
parent6e12c501f8dde3057d26149826e82489e114b2a1 (diff)
Adds reCAPTCHA Token (#211)
* Adds reCAPTCHA Token to the "send verification code" request.
Diffstat (limited to 'Firebase/Auth/Source/FIRAuthErrorUtils.h')
-rw-r--r--Firebase/Auth/Source/FIRAuthErrorUtils.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Firebase/Auth/Source/FIRAuthErrorUtils.h b/Firebase/Auth/Source/FIRAuthErrorUtils.h
index a857d4b..c2c9171 100644
--- a/Firebase/Auth/Source/FIRAuthErrorUtils.h
+++ b/Firebase/Auth/Source/FIRAuthErrorUtils.h
@@ -444,6 +444,13 @@ NS_ASSUME_NONNULL_BEGIN
*/
+ (NSError *)appNotVerifiedErrorWithMessage:(nullable NSString *)message;
+/** @fn captchaCheckFailedErrorWithMessage:
+ @brief Constructs an @c NSError with the @c FIRAuthErrorCaptchaCheckFailed code.
+ @param message Error message from the backend, if any.
+ @return The NSError instance associated with the given FIRAuthError.
+ */
++ (NSError *)captchaCheckFailedErrorWithMessage:(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