From a95c191bb4a8d9673bd663b4974ead6b073123d1 Mon Sep 17 00:00:00 2001 From: Dave Grijalva Date: Sun, 15 Jun 2014 19:40:38 -0700 Subject: [PATCH] documentation --- jwt.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jwt.go b/jwt.go index aa5ce4f..91c00ea 100644 --- a/jwt.go +++ b/jwt.go @@ -20,7 +20,8 @@ var TimeFunc = time.Now // Header of the token (such as `kid`) to identify which key to use. type Keyfunc func(*Token) ([]byte, error) -// A JWT Token +// A JWT Token. Different fields will be used depending on whether you're +// creating or parsing/verifying a token. type Token struct { Raw string // The raw token. Populated when you Parse a token Method SigningMethod // The signing method used or to be used