-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
클래스 명 변경
- Loading branch information
Showing
2 changed files
with
23 additions
and
34 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
src/main/java/com/mpnp/baechelin/user/controller/UserController.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,23 @@ | ||
package com.mpnp.baechelin.user.controller; | ||
|
||
import com.mpnp.baechelin.login.oauth.common.AuthResponse; | ||
import com.mpnp.baechelin.user.service.UserService; | ||
import io.swagger.annotations.ApiOperation; | ||
import lombok.RequiredArgsConstructor; | ||
import org.springframework.http.ResponseEntity; | ||
import org.springframework.security.core.annotation.AuthenticationPrincipal; | ||
import org.springframework.security.core.userdetails.User; | ||
import org.springframework.web.bind.annotation.*; | ||
|
||
@RestController | ||
@RequestMapping("/user") | ||
@RequiredArgsConstructor | ||
public class UserController { | ||
|
||
private final UserService userService; | ||
|
||
@RequestMapping("/logout") | ||
public ResponseEntity<String> logout(@AuthenticationPrincipal User user) { | ||
return null; | ||
} | ||
} |
34 changes: 0 additions & 34 deletions
34
src/main/java/com/mpnp/baechelin/user/controller/UserRestController.java
This file was deleted.
Oops, something went wrong.