forked from baron/baron-sso
SMS 발송 및 Redis 기반 인증 코드 검증, JWT 발급 기능 구현
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user