feat: add http handlers, docs

This commit is contained in:
VQIVS committed 2025-09-15 16:45:16 +03:30
1 parent 5829b471d5
commit b2d5659aec
7 files changed
+466 -43

No files matched your search

+2
View File
@@ -21,6 +21,8 @@ import (
type AuthService interface {
GenerateChallenge(ctx context.Context, pubKey string) (*domain.Challenge, error)
Authenticate(ctx context.Context, pubKey string, signature string, chainID uint, ipAddress, userAgent string) (*UserToken, error)
SendOTPCode(ctx context.Context, phone string) (string, error)
VerifyOTP(ctx context.Context, phone, code string) error
}
type authService struct {