diff options
author | Morgan Chen <morganchen12@gmail.com> | 2018-06-28 12:02:16 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-28 12:02:16 -0700 |
commit | 7aa852fb234f8cc3ece5aa5cff5a53518249f3f0 (patch) | |
tree | cb8b47dba0801092cab5ba6cc4edb324374cb46d /Firebase/Auth/Source/FIRAuthInternalErrors.h | |
parent | bb9fd3136b189456606c8ece7ee1f2e9b1590e55 (diff) | |
parent | 21116161f92eda06389daaef670aa593aa588bcd (diff) |
Merge pull request #1436 from morganchen12/auth2
Add informative error to JWT parse failures
Diffstat (limited to 'Firebase/Auth/Source/FIRAuthInternalErrors.h')
-rw-r--r-- | Firebase/Auth/Source/FIRAuthInternalErrors.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Firebase/Auth/Source/FIRAuthInternalErrors.h b/Firebase/Auth/Source/FIRAuthInternalErrors.h index fd08022..4cdd8cf 100644 --- a/Firebase/Auth/Source/FIRAuthInternalErrors.h +++ b/Firebase/Auth/Source/FIRAuthInternalErrors.h @@ -376,6 +376,9 @@ typedef NS_ENUM(NSInteger, FIRAuthInternalErrorCode) { FIRAuthInternalErrorCodeNullUser = FIRAuthPublicErrorCodeFlag | FIRAuthErrorCodeNullUser, + FIRAuthInternalErrorCodeMalformedJWT = + FIRAuthPublicErrorCodeFlag | FIRAuthErrorCodeMalformedJWT, + /** @var FIRAuthInternalErrorCodeRPCRequestEncodingError @brief Indicates an error encoding the RPC request. @remarks This is typically due to some sort of unexpected input value. |