Skip to content

Commit

Permalink
#18 [Update] 코드 리팩토링
Browse files Browse the repository at this point in the history
클래스 명 변경
  • Loading branch information
Anna-Jin committed Jul 18, 2022
1 parent 5805280 commit 4623e05
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 34 deletions.
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;
}
}

This file was deleted.

0 comments on commit 4623e05

Please sign in to comment.