-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
feat #16 : 회원 닉네임 수정 및 정보 조회 기능 구현
- Loading branch information
Showing
18 changed files
with
117 additions
and
24 deletions.
There are no files selected for viewing
Binary file modified
BIN
+734 Bytes
(140%)
build/classes/java/main/com/sunjoo/auth/domain/User.class
Binary file not shown.
Binary file modified
BIN
+1.4 KB
(130%)
build/classes/java/main/com/sunjoo/auth/domain/controller/UserController.class
Binary file not shown.
Binary file modified
BIN
-57 Bytes
(99%)
...classes/java/main/com/sunjoo/auth/domain/security/JwtAuthenticationProcessingFilter.class
Binary file not shown.
Binary file modified
BIN
+158 Bytes
(110%)
build/classes/java/main/com/sunjoo/auth/domain/security/UserDetailsImpl.class
Binary file not shown.
Binary file modified
BIN
+130 Bytes
(120%)
build/classes/java/main/com/sunjoo/auth/domain/service/UserService.class
Binary file not shown.
Binary file modified
BIN
+615 Bytes
(110%)
build/classes/java/main/com/sunjoo/auth/domain/service/UserServiceImpl.class
Binary file not shown.
Binary file modified
BIN
+142 Bytes
(110%)
build/classes/java/main/com/sunjoo/auth/global/exception/ErrorCode.class
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
src/main/java/com/sunjoo/auth/domain/dto/NickNameRequestDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package com.sunjoo.auth.domain.dto; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
import lombok.Setter; | ||
|
||
@Getter @Setter | ||
@AllArgsConstructor | ||
@NoArgsConstructor | ||
public class NickNameRequestDto { | ||
String newNickName; | ||
} |
22 changes: 22 additions & 0 deletions
22
src/main/java/com/sunjoo/auth/domain/dto/NickNameResponseDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package com.sunjoo.auth.domain.dto; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
import lombok.Setter; | ||
|
||
@Getter @Setter | ||
@AllArgsConstructor | ||
@NoArgsConstructor | ||
public class NickNameResponseDto { | ||
long userNo; | ||
String id; | ||
String nickname; // 닉네임 | ||
String type; | ||
|
||
public NickNameResponseDto(long userNo, String nickname, String type) { | ||
this.userNo = userNo; | ||
this.nickname = nickname; | ||
this.type = type; | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
src/main/java/com/sunjoo/auth/domain/dto/UserInfoResponseDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package com.sunjoo.auth.domain.dto; | ||
|
||
import lombok.*; | ||
|
||
@Getter @Setter | ||
@AllArgsConstructor | ||
@NoArgsConstructor | ||
public class UserInfoResponseDto { | ||
long userNo; | ||
String id; | ||
String name; | ||
String type; | ||
|
||
public UserInfoResponseDto(long userNo, String name, String type) { | ||
this.userNo = userNo; | ||
this.name = name; | ||
this.type = type; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 3 additions & 4 deletions
7
src/main/java/com/sunjoo/auth/domain/service/UserService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
package com.sunjoo.auth.domain.service; | ||
|
||
import com.sunjoo.auth.domain.dto.KakaoLoginRequestDto; | ||
import com.sunjoo.auth.domain.dto.KakaoLoginResponseDto; | ||
import com.sunjoo.auth.domain.dto.UserRegisterRequestDto; | ||
import com.sunjoo.auth.domain.dto.UserRegisterResponseDto; | ||
import com.sunjoo.auth.domain.dto.*; | ||
|
||
import java.util.HashMap; | ||
|
||
public interface UserService { | ||
public UserRegisterResponseDto register(UserRegisterRequestDto registerRequestDto); | ||
public KakaoLoginRequestDto getKakaoUserInfo(String accessToken); | ||
public KakaoLoginResponseDto kakaoLogin(KakaoLoginRequestDto kakaoRequest); | ||
public UserInfoResponseDto getUserInfo(long userNo); | ||
public NickNameResponseDto updateNickName(long userNo, String nickName); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters