Skip to content

Commit

Permalink
[HOTFIX]로그인시 응답 Body에 리프레시 토큰을 담지 않도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
kmw2378 committed Jun 28, 2024
1 parent 3ffebbb commit 64953a4
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package org.kakaoshare.backend.domain.member.dto.oauth.authenticate;

public record OAuthLoginResponse(String accessToken, OAuthLoginMemberResponse member) {
public static OAuthLoginResponse from(final OAuthLoginResult oAuthLoginResult) {
return new OAuthLoginResponse(oAuthLoginResult.accessToken(), oAuthLoginResult.member());
}
}

0 comments on commit 64953a4

Please sign in to comment.