feat: prototyping possible interaction of database, controllers, services with auth service

This commit is contained in:
2025-06-20 13:33:06 +03:00
parent 87878f15a3
commit 654c1eb7b5
5 changed files with 73 additions and 4 deletions

View File

@@ -6,4 +6,7 @@ import (
var (
ErrUnauthorized = errors.New("User is not authorized")
ErrUsernameTaken = errors.New("Provided username is already in use")
ErrInvalidCredentials = errors.New("Invalid username, password or TOTP code")
ErrInvalidToken = errors.New("Token is invalid or expired")
)