From 99669f8b5f241db34f55e65cbe4c4095ff1f4ae3 Mon Sep 17 00:00:00 2001 From: Zach Abrahamson Date: Mon, 18 Jul 2016 11:00:42 -0400 Subject: [PATCH] removing JWT stuff for now --- box.go | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/box.go b/box.go index ae21532..5a59513 100644 --- a/box.go +++ b/box.go @@ -8,8 +8,6 @@ import ( "net/url" "strconv" "time" - - "github.com/dgrijalva/jwt-go" ) type Config struct { @@ -18,11 +16,10 @@ type Config struct { } type ClientConfig struct { - Token string `json:"token"` - UrlBase string `json:"url_base"` - ClientID string `json:"client_id"` - ClientSecret string `json:"client_secret"` - JWTCustomClaims JWTCustomClaims `json:"jwt_custom_claims"` + Token string `json:"token"` + UrlBase string `json:"url_base"` + ClientID string `json:"client_id"` + ClientSecret string `json:"client_secret"` } type EventsConfig struct { @@ -38,7 +35,6 @@ type JWTCustomClaims struct { Jti string `json:"jti"` Exp int64 `json:"exp"` KeyID string `json:"key_id"` - jwt.StandardClaims } type Client struct {