   (get-token-or-error context token-id)
   (token-db/delete context token-id))
 
-(defn get-token-info
+(defn- get-token-info-mock
   [context token-id]
   (let [{:keys [username client_id id]} (get-token-or-error context token-id)]
     {:token_info {:user_name username

            (map (fn [guid]
                   {:sid {:group_sid {:group_guid guid}}})
                 group_guids)))))

(defn build-routes [system]
  (routes

           :content-type :json
           :headers {"Location" url}
           :body {:token token}}))
      (POST "/get_token_info" {context :request-context headers :headers {token-id :id} :params}
        (get-token-info context headers token-id))
      (context "/:token-id" [token-id]
        ;; Logout
        (DELETE "/" {context :request-context}
