From ef1c1bc7f8763fedb3bdc97dcfe9cc94dac81edd Mon Sep 17 00:00:00 2001 From: Mike Moss Date: Wed, 18 Jan 2017 22:41:43 -0800 Subject: [PATCH] Removed invalidIssuedAt major problem for production severs --- Sources/Decode.swift | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Sources/Decode.swift b/Sources/Decode.swift index ce802d7..a9f349d 100644 --- a/Sources/Decode.swift +++ b/Sources/Decode.swift @@ -15,9 +15,6 @@ public enum InvalidToken: CustomStringConvertible, Error { /// The issued claim is for the future case immatureSignature - /// The claim is for the future - case invalidIssuedAt - /// The audience of the claim doesn't match case invalidAudience @@ -35,8 +32,6 @@ public enum InvalidToken: CustomStringConvertible, Error { return "Expired Signature" case .immatureSignature: return "The token is not yet valid (not before claim)" - case .invalidIssuedAt: - return "Issued at claim (iat) is in the future" case .invalidAudience: return "Invalid Audience" case .invalidAlgorithm: