File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,11 @@ static const ErrorCodeMapping kFirebaseAuthCodes[] = {
115
115
{" ERROR_UNSUPPORTED_FIRST_FACTOR" , kAuthErrorUnsupportedFirstFactor },
116
116
{" ERROR_EMAIL_CHANGE_NEEDS_VERIFICATION" ,
117
117
kAuthErrorEmailChangeNeedsVerification },
118
- {" ERROR_USER_CANCELLED" , kAuthErrorMissingOrInvalidNonce },
118
+ {" ERROR_MISSING_OR_INVALID_NONCE" , kAuthErrorMissingOrInvalidNonce },
119
+ {" ERROR_USER_CANCELLED" , kAuthErrorUserCancelled },
120
+ {" ERROR_UNSUPPORTED_PASSTHROUGH_OPERATION" ,
121
+ kAuthErrorUnsupportedPassthroughOperation },
122
+ {" ERROR_TOKEN_REFRESH_UNAVAILABLE" , kAuthErrorTokenRefreshUnavailable },
119
123
{nullptr },
120
124
};
121
125
Original file line number Diff line number Diff line change @@ -419,6 +419,14 @@ enum AuthError {
419
419
// / IDP sign-in.
420
420
kAuthErrorUserCancelled ,
421
421
422
+ // / Indicates that a request was made to an unsupported backend endpoint in
423
+ // / passthrough mode.
424
+ kAuthErrorUnsupportedPassthroughOperation ,
425
+
426
+ // / Indicates that a token refresh was requested, but neither a refresh token
427
+ // / nor a custom token provider is available.
428
+ kAuthErrorTokenRefreshUnavailable ,
429
+
422
430
#endif // INTERNAL_EXEPERIMENTAL
423
431
};
424
432
You can’t perform that action at this time.
0 commit comments