aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firebase/Auth/Source/FIRAuthInternalErrors.h
diff options
context:
space:
mode:
authorGravatar Morgan Chen <morganchen12@gmail.com>2018-06-28 12:02:16 -0700
committerGravatar GitHub <noreply@github.com>2018-06-28 12:02:16 -0700
commit7aa852fb234f8cc3ece5aa5cff5a53518249f3f0 (patch)
treecb8b47dba0801092cab5ba6cc4edb324374cb46d /Firebase/Auth/Source/FIRAuthInternalErrors.h
parentbb9fd3136b189456606c8ece7ee1f2e9b1590e55 (diff)
parent21116161f92eda06389daaef670aa593aa588bcd (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.h3
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.