Software Development, Programming, Self Improvement, Java, Spring Boot.
.map(GrantedAuthority::getAuthority) .collect(Collectors.toList()); SignInResponseDto signInResponseDto = SignInResponseDto.builder() .username(userDetails.getUsername()) .email(userDetails.getEmail()) .id(userDetails.getId()) .token(jwt) .type("Bearer") .roles(roles) .build(); return