From b33c8d1d83081d64864eea3a535491bbbc27d711 Mon Sep 17 00:00:00 2001 From: "Wenlei (Frank) He" Date: Fri, 8 Mar 2019 15:08:54 -0800 Subject: [PATCH] Updated comments and format. --- jwt/jwt.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jwt/jwt.go b/jwt/jwt.go index ba71ab2..4caa964 100644 --- a/jwt/jwt.go +++ b/jwt/jwt.go @@ -67,7 +67,8 @@ type Config struct { // intended audience. Audience string - // PrivateClaims optionally specifies private claims in the JWT. + // See http://tools.ietf.org/html/draft-jones-json-web-token-10#section-4.3 + // PrivateClaims optionally specifies custome private claims in the JWT. PrivateClaims map[string]interface{} // UseIDToken optionally uses ID token instead of access token.