summaryrefslogtreecommitdiff
path: root/internal/apimodule/auth
diff options
context:
space:
mode:
Diffstat (limited to 'internal/apimodule/auth')
-rw-r--r--internal/apimodule/auth/auth.go4
-rw-r--r--internal/apimodule/auth/auth_test.go (renamed from internal/apimodule/auth/test/auth_test.go)2
2 files changed, 3 insertions, 3 deletions
diff --git a/internal/apimodule/auth/auth.go b/internal/apimodule/auth/auth.go
index 341805b40..0a6788c37 100644
--- a/internal/apimodule/auth/auth.go
+++ b/internal/apimodule/auth/auth.go
@@ -32,9 +32,9 @@ import (
const (
// AuthSignInPath is the API path for users to sign in through
- AuthSignInPath = "/auth/sign_in"
+ AuthSignInPath = "/auth/sign_in"
// OauthTokenPath is the API path to use for granting token requests to users with valid credentials
- OauthTokenPath = "/oauth/token"
+ OauthTokenPath = "/oauth/token"
// OauthAuthorizePath is the API path for authorization requests (eg., authorize this app to act on my behalf as a user)
OauthAuthorizePath = "/oauth/authorize"
)
diff --git a/internal/apimodule/auth/test/auth_test.go b/internal/apimodule/auth/auth_test.go
index 2c272e985..95ae0e751 100644
--- a/internal/apimodule/auth/test/auth_test.go
+++ b/internal/apimodule/auth/auth_test.go
@@ -16,7 +16,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-package auth
+package auth_test
import (
"context"