kakao-partner-android-sdk-rx / com.kakao.sdk.auth / AuthCodeClient / authorizeWithKakaoAccount

authorizeWithKakaoAccount

@JvmOverloads fun authorizeWithKakaoAccount(context: Context, channelPublicIds: List<String>? = null, serviceTerms: List<String>? = null, callback: (code: String?, error: Throwable?) -> Unit): Unit

카카오계정으로 로그인. 기본 웹 브라우저(CustomTabs)에 있는 카카오계정 cookie 로 사용자를 인증하고 인증 코드 발급.

Parameters

context - CustomTabs를 실하기 위한 현재 Activity context

callback - 인증 코드 반환. 발급 받은 인증 코드는 AuthApiClient.issueAccessToken 파라미터로 사용.