We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11174db commit 892576bCopy full SHA for 892576b
src/main/java/com/somemore/global/auth/authentication/UserIdentity.java
@@ -3,13 +3,14 @@
3
import com.somemore.user.domain.UserRole;
4
import io.jsonwebtoken.Claims;
5
6
+import java.io.Serializable;
7
import java.util.UUID;
8
9
public record UserIdentity(
10
UUID userId,
11
UUID roleId,
12
UserRole role
-) {
13
+) implements Serializable {
14
15
public static UserIdentity of(UUID userId, UUID roleId, UserRole role) {
16
return new UserIdentity(userId, roleId, role);
0 commit comments