Package com.kakao.sdk.partner.user

파트너용 카카오 로그인, 사용자 정보 API 패키지
Partner package for the Kakao Login and user information APIs

파트너용 카카오 로그인, 사용자 정보 API 패키지
Partner package for the Kakao Login and user information APIs

Functions

Link copied to clipboard
fun RxUserApiClient.ageAuthInfo(ageLimit: Int? = null, propertyKeys: List<String>? = null, ageCriteria: AgeCriteria? = null): Single<AgeAuthInfo>
fun UserApiClient.ageAuthInfo(ageLimit: Int? = null, propertyKeys: List<String>? = null, ageCriteria: AgeCriteria? = null, callback: (info: AgeAuthInfo?, error: Throwable?) -> Unit)

연령인증 정보 확인하기
Check age verification information

Link copied to clipboard
fun RxUserApiClient.createShippingAddresses(context: Context): Single<Long>

배송지 추가하기
Add shipping address

fun UserApiClient.createShippingAddresses(context: Context, callback: (addressId: Long?, error: Throwable?) -> Unit)

배송지 추가하기
Add Shipping address

Link copied to clipboard
fun RxUserApiClient.loginWithKakaoAccount(context: Context, prompts: List<Prompt>? = null, loginHint: String? = null, nonce: String? = null, channelPublicIds: List<String>? = null, serviceTerms: List<String>? = null, accountsSkipIntro: Boolean? = null, accountsTalkLoginVisible: Boolean? = null): Single<OAuthToken>
fun UserApiClient.loginWithKakaoAccount(context: Context, prompts: List<Prompt>? = null, loginHint: String? = null, nonce: String? = null, channelPublicIds: List<String>? = null, serviceTerms: List<String>? = null, accountsSkipIntro: Boolean? = null, accountsTalkLoginVisible: Boolean? = null, callback: (token: OAuthToken?, error: Throwable?) -> Unit)

카카오계정으로 로그인
Login with Kakao Account

Link copied to clipboard
fun RxUserApiClient.meForPartner(propertyKeys: List<String>? = null, secureReSource: Boolean = true): Single<PartnerUser>
fun UserApiClient.meForPartner(propertyKeys: List<String>? = null, secureReSource: Boolean = true, callback: (user: PartnerUser?, error: Throwable?) -> Unit)

사용자 정보 가져오기
Retrieve user information

Link copied to clipboard
fun RxUserApiClient.signupForPartner(properties: Map<String, String>? = null): Completable
fun UserApiClient.signupForPartner(properties: Map<String, String>? = null, callback: (error: Throwable?) -> Unit)

연결하기
Manual signup

Link copied to clipboard
fun RxUserApiClient.updateShippingAddresses(context: Context, addressId: Long): Single<Long>

배송지 수정하기
Update shipping address

fun UserApiClient.updateShippingAddresses(context: Context, addressId: Long, callback: (addressId: Long?, error: Throwable?) -> Unit)

배송지 수정하기
Update Shipping address

Link copied to clipboard
fun RxUserApiClient.upgradeScopes(scopes: List<String>, guardianToken: String? = null): Single<ScopeInfo>
fun UserApiClient.upgradeScopes(scopes: List<String>, guardianToken: String? = null, callback: (info: ScopeInfo?, error: Throwable?) -> Unit)

동의항목 동의 처리하기
Upgrade scopes

Link copied to clipboard
fun RxUserApiClient.verifyAge(context: Context, ageLimit: Int? = null, authLevel: AgeAuthLevel? = null, skipTerms: Boolean? = null, adultsOnly: Boolean? = null, underAge: Boolean? = false): Completable
fun UserApiClient.verifyAge(context: Context, ageLimit: Int? = null, authLevel: AgeAuthLevel? = null, skipTerms: Boolean? = null, adultsOnly: Boolean? = null, underAge: Boolean? = false, callback: (error: Throwable?) -> Unit)

연령인증 페이지 호출하기
Request age verification