diff --git a/pkg/api/doc.go b/pkg/api/doc.go
index db029a25e0cc99995d4abd3cf628395de88e6a34..94937460bb4f9e47bcbbab1fa6247fac4fe01eb5 100644
--- a/pkg/api/doc.go
+++ b/pkg/api/doc.go
@@ -15,7 +15,11 @@ limitations under the License.
 
 package api
 
-import "time"
+import (
+	"fmt"
+	"strconv"
+	"time"
+)
 
 // Resource represents a url resource to protect
 type Resource struct {
@@ -293,42 +297,3 @@ type storage interface {
 	// Close is used to close off any resources
 	Close() error
 }
-
-// reverseProxy is a wrapper
-type reverseProxy interface {
-	ServeHTTP(rw http.ResponseWriter, req *http.Request)
-}
-
-// userContext represents a user
-type userContext struct {
-	// the id of the user
-	id string
-	// the email associated to the user
-	email string
-	// a name of the user
-	name string
-	// the preferred name
-	preferredName string
-	// the expiration of the access token
-	expiresAt time.Time
-	// a set of roles associated
-	roles []string
-	// the audience for the token
-	audience string
-	// the access token itself
-	token jose.JWT
-	// the claims associated to the token
-	claims jose.Claims
-	// whether the context is from a session cookie or authorization header
-	bearerToken bool
-}
-
-// tokenResponse
-type tokenResponse struct {
-	TokenType    string `json:"token_type"`
-	AccessToken  string `json:"access_token"`
-	IDToken      string `json:"id_token"`
-	RefreshToken string `json:"refresh_token,omitempty"`
-	ExpiresIn    int    `json:"expires_in"`
-	Scope        string `json:"scope,omitempty"`
-}