Skip to content

Commit

Permalink
refactor: Move oauth classes to security directory (#11)
Browse files Browse the repository at this point in the history
oauth 관련 클래스들을 security folder 경로로 리팩토링
  • Loading branch information
toychip committed Dec 14, 2023
1 parent 38747b4 commit a5c2089
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.api.TaveShot.global.config;

import com.api.TaveShot.global.jwt.JwtAuthenticationFilter;
import com.api.TaveShot.global.oauth2.CustomOAuth2UserService;
import com.api.TaveShot.global.oauth2.CustomOAuthSuccessHandler;
import com.api.TaveShot.global.security.jwt.JwtAuthenticationFilter;
import com.api.TaveShot.global.security.oauth2.CustomOAuth2UserService;
import com.api.TaveShot.global.security.oauth2.CustomOAuthSuccessHandler;
import java.util.List;
import lombok.RequiredArgsConstructor;
import org.springframework.context.annotation.Bean;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.api.TaveShot.global.jwt;
package com.api.TaveShot.global.security.jwt;

import jakarta.servlet.FilterChain;
import jakarta.servlet.ServletException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.api.TaveShot.global.jwt;
package com.api.TaveShot.global.security.jwt;

import static com.api.TaveShot.global.constant.OauthConstant.ACCESS_TOKEN_VALID_TIME;
import static com.api.TaveShot.global.exception.ErrorType._JWT_EXPIRED;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.api.TaveShot.global.oauth2;
package com.api.TaveShot.global.security.oauth2;

import static com.api.TaveShot.global.constant.OauthConstant.EMAIL_PATTERN;
import static com.api.TaveShot.global.constant.OauthConstant.ID_PATTERN;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.api.TaveShot.global.oauth2;
package com.api.TaveShot.global.security.oauth2;

import static com.api.TaveShot.global.constant.OauthConstant.REDIRECT_URL;
import static com.api.TaveShot.global.exception.ErrorType._SERVER_USER_NOT_FOUND;
Expand All @@ -7,7 +7,7 @@
import com.api.TaveShot.domain.Member.dto.response.AuthResponse;
import com.api.TaveShot.domain.Member.repository.MemberRepository;
import com.api.TaveShot.global.exception.ApiException;
import com.api.TaveShot.global.jwt.JwtProvider;
import com.api.TaveShot.global.security.jwt.JwtProvider;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.api.TaveShot.global.oauth2;
package com.api.TaveShot.global.security.oauth2;

import com.api.TaveShot.domain.Member.domain.Member;
import java.util.Collection;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.api.TaveShot.global.oauth2;
package com.api.TaveShot.global.security.oauth2;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.api.TaveShot.global.oauth2;
package com.api.TaveShot.global.security.oauth2;

import static com.api.TaveShot.global.constant.OauthConstant.PROFILE_IMAGE_URL_PATTERN;
import static com.api.TaveShot.global.constant.OauthConstant.EMAIL_PATTERN;
Expand Down

0 comments on commit a5c2089

Please sign in to comment.