Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

authentication의 presentation 패키지의 클래스 위치 수정 #55

Merged
merged 1 commit into from
Feb 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.backend.blooming.authentication.application.dto;

import com.backend.blooming.authentication.presentation.dto.LogoutRequest;
import com.backend.blooming.authentication.presentation.dto.request.LogoutRequest;

public record LogoutDto(String refreshToken, String deviceToken) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
import com.backend.blooming.authentication.infrastructure.oauth.OAuthType;
import com.backend.blooming.authentication.presentation.anotaion.Authenticated;
import com.backend.blooming.authentication.presentation.argumentresolver.AuthenticatedUser;
import com.backend.blooming.authentication.presentation.dto.LogoutRequest;
import com.backend.blooming.authentication.presentation.dto.WithdrawRequest;
import com.backend.blooming.authentication.presentation.dto.request.LogoutRequest;
import com.backend.blooming.authentication.presentation.dto.request.WithdrawRequest;
import com.backend.blooming.authentication.presentation.dto.request.ReissueAccessTokenRequest;
import com.backend.blooming.authentication.presentation.dto.response.LoginInformationResponse;
import com.backend.blooming.authentication.presentation.dto.response.SocialLoginRequest;
import com.backend.blooming.authentication.presentation.dto.request.SocialLoginRequest;
import com.backend.blooming.authentication.presentation.dto.response.TokenResponse;
import lombok.RequiredArgsConstructor;
import org.springframework.http.ResponseEntity;
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.backend.blooming.authentication.presentation.dto;
package com.backend.blooming.authentication.presentation.dto.request;

public record LogoutRequest(String refreshToken, String deviceToken) {
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.backend.blooming.authentication.presentation.dto.response;
package com.backend.blooming.authentication.presentation.dto.request;

public record SocialLoginRequest(String accessToken, String deviceToken) {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package com.backend.blooming.authentication.presentation.dto.request;

public record WithdrawRequest(String refreshToken) {
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import com.backend.blooming.authentication.presentation.argumentresolver.AuthenticatedUser;
import com.backend.blooming.notification.application.NotificationService;
import com.backend.blooming.notification.application.dto.ReadNotificationsDto;
import com.backend.blooming.notification.presentation.dto.ReadNotificationsResponse;
import com.backend.blooming.notification.presentation.dto.response.ReadNotificationsResponse;
import lombok.RequiredArgsConstructor;
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.backend.blooming.notification.presentation.dto;
package com.backend.blooming.notification.presentation.dto.response;

import com.backend.blooming.notification.application.dto.ReadNotificationsDto;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
import com.backend.blooming.authentication.application.dto.TokenDto;
import com.backend.blooming.authentication.infrastructure.jwt.dto.AuthClaims;
import com.backend.blooming.authentication.infrastructure.oauth.OAuthType;
import com.backend.blooming.authentication.presentation.dto.LogoutRequest;
import com.backend.blooming.authentication.presentation.dto.WithdrawRequest;
import com.backend.blooming.authentication.presentation.dto.request.LogoutRequest;
import com.backend.blooming.authentication.presentation.dto.request.WithdrawRequest;
import com.backend.blooming.authentication.presentation.dto.request.ReissueAccessTokenRequest;
import com.backend.blooming.authentication.presentation.dto.response.SocialLoginRequest;
import com.backend.blooming.authentication.presentation.dto.request.SocialLoginRequest;

@SuppressWarnings("NonAsciiCharacters")
public class AuthenticationControllerTestFixture {
Expand Down
Loading