Skip to content

Commit

Permalink
[Add] #298 - 문자 메시지 전송 관련 변수 선언
Browse files Browse the repository at this point in the history
  • Loading branch information
mjKim1229 committed Jul 11, 2023
1 parent 14d87ce commit 6ee6a7c
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion src/main/java/shop/cazait/domain/auth/service/AuthService.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,22 @@ public class AuthService {

private final MasterService masterService;

private final UserRepository userRepository;
private final SensClient sensClient;

private final HttpSession httpSession;

@Value("${credentials.api-key.access-key}")
private String accessKey;
@Value("${credentials.api-key.secret-key}")
private String secretKey;
@Value("${credentials.service-id.SMS}")
private String serviceId;

@Value("${user-info.sender-phone-number}")
private static String senderPhoneNumber;

private static final Integer smsVerifyTime = 180;
private static final Random random = new SecureRandom();

public UserAuthenticateOutDTO reIssueTokensByRole(Role exactRole, String accessToken, String refreshToken) throws MasterException, UserException {
if (exactRole.equals(USER)) {
Expand Down

0 comments on commit 6ee6a7c

Please sign in to comment.