From aeec1afe95567d48d5b90804e405ef68b9a0b66b Mon Sep 17 00:00:00 2001 From: Dave Grijalva Date: Sun, 9 Mar 2014 12:26:36 -0700 Subject: [PATCH] documentation --- jwt.go | 1 + 1 file changed, 1 insertion(+) diff --git a/jwt.go b/jwt.go index 85e3b13..3b36c98 100644 --- a/jwt.go +++ b/jwt.go @@ -156,6 +156,7 @@ func Parse(tokenString string, keyFunc Keyfunc) (*Token, error) { } } +// The errors that might occur when parsing and validating a token const ( ValidationErrorMalformed uint32 = 1 << iota // Token is malformed ValidationErrorUnverifiable // Token could not be verified because of signing problems