You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tryvalidateDate(claims, key:"exp", comparison:.orderedAscending, failure:.expiredSignature, decodeError:"Expiration time claim (exp) must be an integer")
104
-
tryvalidateDate(claims, key:"nbf", comparison:.orderedDescending, failure:.immatureSignature, decodeError:"Not before claim (nbf) must be an integer")
105
-
tryvalidateDate(claims, key:"iat", comparison:.orderedDescending, failure:.invalidIssuedAt, decodeError:"Issued at claim (iat) must be an integer")
tryvalidateDate(claims, key:"exp", comparison:.orderedAscending, failure:.expiredSignature, decodeError:"Expiration time claim (exp) must be an integer")
134
+
}
135
+
136
+
publicfunc validateNotBefore()throws{
137
+
tryvalidateDate(claims, key:"nbf", comparison:.orderedDescending, failure:.immatureSignature, decodeError:"Not before claim (nbf) must be an integer")
138
+
}
139
+
140
+
publicfunc validateIssuedAt()throws{
141
+
tryvalidateDate(claims, key:"iat", comparison:.orderedDescending, failure:.invalidIssuedAt, decodeError:"Issued at claim (iat) must be an integer")
0 commit comments