Skip to content

Commit 892576b

Browse files
committed
feat(userIdentity): 직렬화 가능하도록 수정
1 parent 11174db commit 892576b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/com/somemore/global/auth/authentication/UserIdentity.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@
33
import com.somemore.user.domain.UserRole;
44
import io.jsonwebtoken.Claims;
55

6+
import java.io.Serializable;
67
import java.util.UUID;
78

89
public record UserIdentity(
910
UUID userId,
1011
UUID roleId,
1112
UserRole role
12-
) {
13+
) implements Serializable {
1314

1415
public static UserIdentity of(UUID userId, UUID roleId, UserRole role) {
1516
return new UserIdentity(userId, roleId, role);

0 commit comments

Comments
 (0)