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 12, 2022
1 parent 8d8d269 commit 5ab20a8
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.mpnp.baechelin.user.controller;
package com.mpnp.baechelin.oauth.controller;

import com.mpnp.baechelin.config.properties.AppProperties;
import com.mpnp.baechelin.oauth.common.AuthResponse;
Expand Down Expand Up @@ -41,12 +41,8 @@ public class authController {
*/
@GetMapping("/refresh")
public AuthResponse refreshToken (HttpServletRequest request, HttpServletResponse response) {
// access token 확인
String accessToken = HeaderUtil.getAccessToken(request);
AuthToken authToken = tokenProvider.convertAuthToken(accessToken);
// if (!authToken.validate()) {
// return AuthResponse.invalidAccessToken();
// }

// expired access token 인지 확인
Claims claims = authToken.getExpiredTokenClaims();
Expand Down

0 comments on commit 5ab20a8

Please sign in to comment.