From 325a368deaca86809042b8ff8da702e71168b058 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sun, 17 Mar 2024 08:53:56 -0400 Subject: [PATCH] refactor: add AuthTokenName to RoutableAPI --- api/router/router.go | 1 + 1 file changed, 1 insertion(+) diff --git a/api/router/router.go b/api/router/router.go index 49c34e6..53e3128 100644 --- a/api/router/router.go +++ b/api/router/router.go @@ -13,6 +13,7 @@ import ( type RoutableAPI interface { Name() string Domain() string + AuthTokenName() string Can(w http.ResponseWriter, r *http.Request) bool Handle(w http.ResponseWriter, r *http.Request) Routes() (*httprouter.Router, error)