aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firebase/Auth/Source/Public/FIRAuthErrors.h
diff options
context:
space:
mode:
authorGravatar Morgan Chen <morganchen12@gmail.com>2018-06-21 12:10:05 -0700
committerGravatar Morgan Chen <morganchen12@gmail.com>2018-06-26 15:47:26 -0700
commit21116161f92eda06389daaef670aa593aa588bcd (patch)
tree92facb87e3c6dff09c952ea60e0042351b898e5c /Firebase/Auth/Source/Public/FIRAuthErrors.h
parent39176ba0f444e8e99af869126dff9811c743ca40 (diff)
Fix bad parsing of JWT dates
Diffstat (limited to 'Firebase/Auth/Source/Public/FIRAuthErrors.h')
-rw-r--r--Firebase/Auth/Source/Public/FIRAuthErrors.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Firebase/Auth/Source/Public/FIRAuthErrors.h b/Firebase/Auth/Source/Public/FIRAuthErrors.h
index 4a1a6f1..a3fbe26 100644
--- a/Firebase/Auth/Source/Public/FIRAuthErrors.h
+++ b/Firebase/Auth/Source/Public/FIRAuthErrors.h
@@ -311,6 +311,11 @@ typedef NS_ENUM(NSInteger, FIRAuthErrorCode) {
/** Indicates an internal error occurred.
*/
FIRAuthErrorCodeInternalError = 17999,
+
+ /** Raised when a JWT fails to parse correctly. May be accompanied by an underlying error
+ describing which step of the JWT parsing process failed.
+ */
+ FIRAuthErrorCodeMalformedJWT = 18000,
} NS_SWIFT_NAME(AuthErrorCode);
@end