func tokenList(w http.ResponseWriter, r *http.Request, t auth.Token) error {
	tokens, err := servicemanager.TeamToken.FindByUserToken(t)
	if err != nil {
		return err
	}
	if len(tokens) == 0 {
		w.WriteHeader(http.StatusNoContent)
		return nil
	}
	w.Header().Set("Content-Type", "application/json")
	return json.NewEncoder(w).Encode(tokens)
}
func tokenList(w http.ResponseWriter, r *http.Request, t auth.Token) error {
	tokens, err := servicemanager.TeamToken.FindByUserToken(t)
	if err != nil {
		return err
	}
	if len(tokens) == 0 {
		w.WriteHeader(http.StatusNoContent)
		return nil
	}
	w.Header().Set("Content-Type", "application/json")
	return json.NewEncoder(w).Encode(tokens)
}
// title: token list
// path: /tokens
// method: GET
// produce: application/json
// responses:
//   200: List tokens
//   204: No content
//   401: Unauthorized