| Line 17... |
Line 17... |
| 17 |
import com.spice.profitmandi.common.enumuration.SchemeType;
|
17 |
import com.spice.profitmandi.common.enumuration.SchemeType;
|
| 18 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
18 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
| 19 |
import com.spice.profitmandi.common.model.ProfitMandiConstants;
|
19 |
import com.spice.profitmandi.common.model.ProfitMandiConstants;
|
| 20 |
import com.spice.profitmandi.common.util.JWTUtil;
|
20 |
import com.spice.profitmandi.common.util.JWTUtil;
|
| 21 |
import com.spice.profitmandi.common.web.client.RestClient;
|
21 |
import com.spice.profitmandi.common.web.client.RestClient;
|
| 22 |
import com.spice.profitmandi.dao.entity.Role;
|
22 |
import com.spice.profitmandi.dao.entity.dtr.Role;
|
| 23 |
import com.spice.profitmandi.dao.entity.SocialUser;
|
23 |
import com.spice.profitmandi.dao.entity.dtr.SocialUser;
|
| 24 |
import com.spice.profitmandi.dao.entity.User;
|
24 |
import com.spice.profitmandi.dao.entity.dtr.User;
|
| 25 |
import com.spice.profitmandi.dao.enumuration.Gender;
|
25 |
import com.spice.profitmandi.dao.enumuration.dtr.Gender;
|
| 26 |
import com.spice.profitmandi.dao.enumuration.SocialType;
|
26 |
import com.spice.profitmandi.dao.enumuration.dtr.SocialType;
|
| 27 |
import com.spice.profitmandi.dao.repository.SocialUserRepository;
|
27 |
import com.spice.profitmandi.dao.repository.dtr.SocialUserRepository;
|
| 28 |
import com.spice.profitmandi.dao.repository.UserRepository;
|
28 |
import com.spice.profitmandi.dao.repository.dtr.UserRepository;
|
| 29 |
|
29 |
|
| 30 |
@Component
|
30 |
@Component
|
| 31 |
public class GoogleLoginProcessor {
|
31 |
public class GoogleLoginProcessor {
|
| 32 |
|
32 |
|
| 33 |
private static final String V1_HOST_NAME = "content.googleapis.com";
|
33 |
private static final String V1_HOST_NAME = "content.googleapis.com";
|