[spring boot]아임포트 본인인증 certification 정보 받아오기
인증까지 완료되니.. 이제 imp_uid 가지고 정보를 가지고 올 수 있다..
IamportClient client = new IamportClient(imp_key, imp_secret);
IamportResponse<Certification> certificationResponse = client.certificationByImpUid(impUid);
System.out.println("getMessage ->" + certificationResponse.getMessage());
System.out.println("getResponse ->" + certificationResponse.getResponse());
System.out.println("getBirth ->" + certificationResponse.getResponse().getBirth().toString());
System.out.println("getGender ->" + certificationResponse.getResponse().getGender());
System.out.println("getName ->" + certificationResponse.getResponse().getName());
System.out.println("getPgProvider ->" + certificationResponse.getResponse().getPgProvider());
System.out.println("getImpUid ->" + certificationResponse.getResponse().getImpUid().toString());
System.out.println("getMerchantUid ->" + certificationResponse.getResponse().getMerchantUid().toString());
System.out.println("getPgTid ->" + certificationResponse.getResponse().getPgTid().toString());
System.out.println("getUniqueKey ->" + certificationResponse.getResponse().getUniqueKey().toString());
System.out.println("getUniqueInSite ->" + certificationResponse.getResponse().getUniqueInSite().toString());
System.out.println("getOrigin ->" + certificationResponse.getResponse().getOrigin().toString());
System.out.println("getCarrier ->" + certificationResponse.getResponse().getCarrier().toString());
System.out.println("getPhone ->" + certificationResponse.getResponse().getPhone().toString());
'server' 카테고리의 다른 글
[spring boot]Zero date value prohibited 해결방법 (0) | 2021.02.15 |
---|---|
[spring boot]아임포트 본인인증 origin 문제있는 경험 (0) | 2021.02.15 |
[spring boot]아임포트 본인인증 인증토큰 받아오기 (0) | 2021.02.15 |
[spring boot]아임포트 본인인증 rsp.imp_uid받는방법 (0) | 2021.02.15 |
[web]아임포트 본인인증 전화번호(phone), 통신사(carrier) 나오지 않는 이슈 해결방법 (0) | 2021.02.15 |