| 12 | import lombok.NoArgsConstructor; |
| 13 | |
| 14 | @Data |
| 15 | @Builder |
| 16 | @NoArgsConstructor |
| 17 | @AllArgsConstructor |
| 18 | public class AuthResponse { |
| 19 | |
| 20 | private String accessToken; |
| 21 | private String refreshToken; |
| 22 | private String tokenType; |
| 23 | private Long expiresIn; |
| 24 | private UserInfo user; |
| 25 | |
| 26 | @Data |
| 27 | @Builder |
| 28 | @NoArgsConstructor |
| 29 | @AllArgsConstructor |
| 30 | public static class UserInfo { |
| 31 | private Long id; |
| 32 | private String username; |
| 33 | private String email; |
| 34 | private String role; |
| 35 | private String preferredModel; |
| 36 | } |
| 37 | } |
| 38 | |
| 39 |
nothing calls this directly
no outgoing calls
no test coverage detected