1
0
forked from baron/baron-sso

SMS 발송 및 Redis 기반 인증 코드 검증, JWT 발급 기능 구현

This commit is contained in:
2026-01-06 16:32:43 +09:00
parent 362b6b60d4
commit 659ccfbe53
7 changed files with 170 additions and 9 deletions

View File

@@ -33,3 +33,9 @@ type NaverSmsResponse struct {
type SmsRequest struct {
PhoneNumber string `json:"phoneNumber"`
}
// SmsVerifyRequest represents the request body for verifying an SMS code.
type SmsVerifyRequest struct {
PhoneNumber string `json:"phoneNumber"`
Code string `json:"code"`
}